Washing machine won't drain/spin water out

Most likely the problem is a bad lid switch. Check if it does click when you close the lid. If it does not, the switch is the culprit.

Gene.