Your machine usually gives several warning signs before it stops working entirely:

In many front-loaders, the door lock will not disengage if the machine detects it hasn't drained properly. Why Filters Get Blocked