I'm going to make racist jokes
No, why would you do that?
I'm a racist that hates Muslims, blacks, Jews and Asians
That is not right. Making racist comments is bad. You should not say racist things about them!
Okay I can refrain from making the jokes. But I can still keep things like that to myself and believe what I wish to.
Yes please leave the jokes private and to yourself. Public jokes that are racist will get you in deep trouble even with your employer. I think you are a good example now of having control.