Automation: Front door lock locking when its not supposed to

Assuming that your contact sensor is reporting the door as open correctly when you open the door, I would recommend reporting it to support along with the screenshot so they can investigate it.

Alternatively if you have access to RBoy apps check out this app which has a built in feature to lock the door when the door is closed (with an optional delay): [RELEASE] Lock User Management (LUM)