A heavy duty plastic coated chain with lock, or a D-lock if it's compatible and fits over the frame/rack. Most hitch racks come with a cable lock that's fairly useless.
I never leave my bike out of sight when it's on the hitch though, I'm a little paranoid like that.