In Poseidon, in one scene people flooded themselves by opening a nearby valve. Water filled the space and a hatch also got opened which lead to the next room.
Luckily they moved to the next room but they did so by risking themselves. Actually the ship is sinking and the next room may be filled with water or not. How did they know what is on the other side?