Unlocked? Ya mean all the potential is already there?
Most ebikes have multiple preprogrammed pedal assist levels (PAS), some have 3 levels, some 5 levels, and I think I've seen as many as 9 PAS levels. On most, the pedal assist level also limits the throttle-only speed. Some can be 'hacked' by a certain button press sequence to unlock/derestrict the speed. How much difference it makes, if any, varies depending on the particular bike. On my ONEBOT S1, which has 3 PAS levels, unlocking it supposedly increases top speed from around 16 mph to around 21 mph, I haven't tried it yet as the bike is apart (mods in progress) at the moment. My Polarna M6 Pro is good for 35 mph in PAS 5 and I haven't searched for information on unlocking it, haven't felt a need.