I do something similar with node red and some lights. It's all based off of person.xxxxxxx locations.
If I was going to try and do something based on if a vehicle was used then I would probably attach Bluetooth trackers to the car and bike and use those for particular automations. There will be a little bit of a delay while the system before the door opens or closes until they connect up and it will require a Bluetooth AP connected to HomeAssistant but it gives finer grained control. But you would need to do checks that both your phone and something else entered the area to prevent the door from also unlocking.
Or you could use use you phone as a Bluetooth beacon/tracker and set something based on its last seen location before leaving.
Setting up with each device tracked also gives you the opportunity to give warnings if they leave without your phone as well as to use crowd tracking if they do.
Only people at ground zero get that. Everyone else gets radiation poisoning and nuclear winter/starvation unless they built a place that can survive for multiple years.