Such an alarm allows the conservation of energy because leaving the door open reduces the internal temperatures. A lock on the door means you don’t have to fret over the young ones eating ice cream without permissions or spilling drinks in the fridge.