My best guess is safety, if you had a heavy load in there the momentum could keep the drum spinning much longer than normal. I’m sure they could add a sensor to check, but that’s just an extra cost. So rather than allowing you to open the machine while it’s still spinning and possibly injure yourself reaching in, they keep it locked for a few more minutes.