No. A hitch lock can interfere with a trailer’s movement while driving and that can present a safety hazard. It’s best to remove the lock before driving and to replace it when stopped.