Washer stops during spin cycle

I have a Frigidaire frontload washer model Fwtr445rfs1 which stops during the spin cycle. It will continue the cycle if I lean on the door (an impractical option). The door lock indicator light is on but the door open freely. I am not sure whether to replace the latch, locking assemble or something else. Any suggestions?