1: The door might’ve stayed open because you hit a checkpoint, start, or finish before dying. If not, tell me
2: the player is designed to automatically move around corners which is why it happened. I try to outweigh the pros and cons of the feature. It’s a lot easier to stop at a wall than it is to navigate zig zags without the feature.
Hope this cleared things up a bit