Yes, they will be fine.
You probably know that it mostly depends upon the type of batteries in question.
At room temperature some batteries regain their potential, after being exposed to extreme low temperatures; some do not.
If frozen, zinc/alkaline batteries are often useless after a short time in service. I would not put them in a kind of security device, anyway. Use lithium batteries in your security devices, please.