What you need to do is first capture the “jammed” signal event which the lock send when the auto lock fails to complete.
You’ll need a custom DTH like this one to capture and report that signal to ST :
Then you need an app to notify you and send a relock signal to your lock (there no way to “reset” it directly). An app like LUM captures this event and notifies you that the lock is jammed. You will need to manually initiate a lock or unlock to force the lock to respond or you can use CoRE or WebCoRE to capture that event from the DTH and then automatically react by sending commands to the lock.
Although not all locks will respond and if the door is jammed. When the lock, even if it responds, tries to relock itself it may fail because the deadbolt isn’t aligned properly. In a few cases it may succeed where the jamb is scraping and a retry could help but it’s very context dependent.
But yes, knowing about it and having an app or rule notify you is definitely a life saver. I’ve heard about someone having a neighbor go and “pull” the door close when they received a jammed notification from LUM after leaving the house and then the lock relocked itself remotely thanks to a timely jammed notification.