Create an Automation/Alert to tell me if a door is open when locking doors?

If you’re using Lock User Management, then this feature is built into the app under Door/Open Actions.

Alternatively you can use this app also to create a custom notifications with a custom repeat interval: [RELEASE] Door Chimes and Notifications for Doorbells and Sensors