Notification for when lock remains unlocked for set amount of time

I would love to have a notification category that alerts the owner if a lock remains unlocked for a set period of time. Would be very useful to let someone know if the front door was accidentally left unlocked by someone.