Ever since focuses got introduced, I really soured on the idea of a physical mute/ring switch.
Having my phone ring at home and vibrate when away is the most obvious use case for this feature, and yet it can't be implemented because you can't toggle a physical switch in hardware.
I know the latest generation iPhones don't have those, and I think that's the right decision, but it's still disappointing for older-gen users.
You can associate a location schedule with Focuses, which can include Silent mode as a filter. Also you can set shortcuts to automatically run when you enter a physical location.