Amana washer

Washer stopped at rinse and spin cycleand stayed locked, emptied water and unlocked door, when washer is put into spin cycle machine hums and does not start the cycle. Any comments?