If your front wheel locks while you are stopping, you should:

If your front wheel locks while you are making a quick stop, release the front brake immediately and then re-apply it firmly. Use both the front and rear brakes if you need to stop quickly.

Wait, before you go

Ace Your California Motorcycle Written Test with our Guaranteed Cheat Sheet