I have a cargo bike with a lockable front wheel, and even if I forget to unlock that, I can still drive, even though it's unpleasant.
That unpleasantness mostly comes from being unable to turn my front wheel in the opposite direction before leaning in to the actual turn direction, though.
This is on a manually powered bike, though, so maybe things are different on a motor bike? But I sort-of doubt it, since the physics are the same...