https://smarthomeace.com/how-do-smart-locks-know-to-lock-or-unlock/