Frozen and sticky locks are mostly preventable.
In late fall, puff dry graphite or a PTFE spray into every exterior keyway. Oil-based sprays gather grit and turn gummy in the cold.
If a lock freezes, warm the key with your hands or a lighter for a few seconds, then insert it gently. Never pour hot water in; it refreezes deeper.
Doors shrink and shift in the cold, so a deadbolt that slid fine in July may bind in January. Lift the door slightly by the knob while turning.
Check your car's door locks before the first freeze too. A fob that works today won't help when the battery dies on a single-digit morning.