If your rear wheel locks up while you are stopping on a straightaway:

If you accidentally lock your rear wheel while stopping on a straightaway, you can keep it locked until you have completely stopped. Even with a locked rear wheel, you can usually control your motorcycle if it is upright and traveling in a straight line.
DMV Writen Test