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?
All washing machines throughout my life (it would be like 6 or 7 at this point) did the “locked for a while” thing except for my latest one, from Samsung, that does exactly that: it only considers the cycle finished (plays a slightly annoying song to let me know) after it has completely drained. So, I can open the door as soon as it lets me know it is done.