Maytag bravos top load washer

When I turn on on any setting at the start when it is beginning its cycle it starts to spin and stops and only hums, and the little red locking light blinks, will not go past this point?