Door latch

front load washer, the door won’t latch, looks like the latch is stuck in the lock position. It was a little hard to open now it won’t close.