Question on waasher not spinning occasionally

My Kenmore top load washer will occassionally not spin after going through the wash cycle. Sometimes it does fine others it will have to be reset by lifting the lid and then it will spin again. You can hear the motor as if it is trying to spin but it seems to not be catching.

I had a repair person look at it and he thought it was the timer. He told me that the transmission was good because it would cycle from the wash to spin cycle ok. He also didn’t think it was the clutch because he said if it would go bad it would stop spinning altogether.

Could the timer be the problem or should I look elsewhere?

Try to get it in the state where it should spin, but doesn’t. Push down on the lid instead of lifting it. If it spins, the problem is the lid switch.

I don’t think it’s the lid switch because it goes through the wash cycle just fine. Thanks for the reply and let me know if you have any other ideas. Also it sounds like it wants to spin but won’t and I would think if the lid switch was bad it wouldn’t do anything as it would think the lid was open.

Need help please. Anyone?