Seeking Alarms Suggestions for open refridgerator
There is a reason that refrigerators do not have internal electrical outlets and that reason is so that people do not die.

Generally, that socket is a bad idea because a refrigerator is cool and when warm humid air enters, it will condense. The amount of condensation could easily rise to a level beyond that at which the socket is electrically safe.

Unlike other outlets in the rest of a kitchen, the National Electrical Code has not, historically, required ground fault protection for outlets serving refrigerators and other major appliances. A strict interpretation of the 'major  kitchen appliance exception is why many jurisdictions prohibit duplex outlets in the area where a refrigerator is designed to go.