Turn off the light when the door is locked