There's a section on here about de-restricting bikes, generally it's not discussed on the wider forum because some members have very strong (and reasonable) views against it.
In short, the specialized brose motor can be derestricted using an app on your phone, the bosch with a plug in dongle. No idea about the shimano.
Personally it's something I see both pros and cons with, I would like to be able to go faster on tarmac on the way to the trails, but I worry about haters using strava evidence to shut down trails that are already dubious legality. Life would get very dull if we could only ride the official trails.