Autolock or night mode lock only when door is closed
With magent Sensor
For more information about the reason: Bug beim zusperren mit Türsensor