Thank you for playing.
The doors aren’t supposed lock behind you even though you close them yourself, UNLESS you are talking about the orange door with the sliding lock. That’s on purpose. You need to climb the pipes.
If this isn’t the case, please let me know about the specific door you are referring to.