If you have a certain brands of motor (Bosch, Yahama, Giant, Bafang) there is an option for derestricting that I have seen called the
SpeedBox.
It seems it plugs into existing wires and overrides the software limitations and lets you get some “boost” into your ride.
Seems pretty cool. Wish they had it for my platform on the Lectric.