I'm curious how you setup "automatically unlock before we reach the door"
The motion sensor isn't strictly necessary, you can use the phone joining the network as a trigger. It's just an extra filter to ensure there are no accidental unlocks. It will also prevent unlocks if you come home, park, and then leave without attempting to enter.
That's how I would do it, all easily doable in home assistant.