Most washing machines have a timer that prevents you from opening the hatch just after the washing cycle ends. Instad you must wait for the timer to go off, usually a minute or two, before you can open the hatch.
Why? Would letting the user open the hatch immediately after washing ends pose any safety or other issues?
My washing machine is a top loader and has a pause button that will stop the water fill/spin cycle so you can open the door. The washer waits until the cycle pauses completely then unlocks the door