Danalock - auto unlock routine?

Enable location presence on your SmartThings mobile app and then use app or automation to lock or unlock based on presence.

If you have access to RBOYAPPS you can use LUM to create a presence based user which will lock or unlock the lock when the presence arrives or leaves (you can create multiple sensor options, like a spouses phone). Note that v3 doesn’t support remote programming