
Mark H. answered 04/13/19
Tutoring in Math and Science at all levels
In both cases, you have a static situation (the door stays closed because the applied force is at least equal to the force associated with the water pressure.--it does not matter how the force is applied)
Energy comes into play only when a force acts through a distance. e.g.: If you pick up a rock, you have added potential energy, which is the product of the weight of the rock and the change in elevation.