I have a story for you. You see my daughter had hard time turning the key in the old lock. Somebody else had to open the door for her all the time when she was coming home from nearby playground. Even she had her own key she was lacking physical power to turn the key.
So my solution was to buy an electromagnetic lock, which also could be opened by key in case of power outage. And I did exactly this - an RPi was in charge of opening the door via my private WiFi network so when my daughter was coming home, she was connecting her smartphone to my WiFi, launch an app I also wrote and used that to open the door.
Now the funny thing is that the electromagnetic lock was so sensitive that it required a lot less power to open it via its mechanical key so she ended using that most of the time, only in rare occasions of a new friend she was showing off that she is able to open the door via phone.