turn off light when door is locked