washer fills, agitates, drains but does not spin.
Look inside the lower service panel for tech notes. While you are in there take apart the pump and drain and check for obstructions or problems.
If that checks out then use the tech notes to test the door lock assembly, speed control board and finally the main control unit.