Oiling with car locks?

What is the best way to oil car locks so they don’t freeze (as happened to me recently)? I found out by googling that household oil is not suitable because it obviously resins. Some people probably use graphite, gun oil or ballist oil. Maybe motor oil is also possible…? Which method do you think is best? Greeting Roland