ULEZ Zones.
15 minute neighborhoods.
Phasing out of ICE cars - that's in law and if in 10 years time 75% of us have EVs, we'll be stuffed, because we won't be able to get anywhere as the grid will have collapsed.
It's the early stages but we have some laws already.
I'd even argue that allowing the roads to fall in to disrepair is dictating to a degree how we travel and Blackburn is effectively log-jammed most mornings since they put in bus lanes, so not a law that tells you that you cannot drive from A to B, but it's certainly made it more difficult.