Well I went with my gut and replaced the lock latch mechanism. That fixed the issue. I guess since it was broken the washer wouldn't do the spin cycle since it was "thinking" the lid was open.
open