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

If the front wheel locks up while you are braking, release the pressure from the front brake. Immediately re-apply pressure to the brake with controlled gradual pressure.
DMV Writen Test