London’s flood gate that disappears into the river
The Thames Barrier can put a wall across the river. Watch where that same wall goes when boats need to pass.
These Dutch flood gates can reach across an entire shipping channel and still leave a way through.

That’s a flood gate swinging across a Dutch shipping channel. It can reach the other gate and still leave a gap. Where would the water get through? Each gate measures two hundred ten meters. Look back along the arm to the joint. When the gates are parked, ships have the channel between them.
The arms pivot from opposite banks and bring the gates together across the channel. From up here, you can see why it looks like the job is finished. Change the angle. The gates are still floating after that swing. Even with the two sides together, there’s space for water to pass beneath them. Rijkswaterstaat says the gates take on water once they’re in position. As they fill, their lower edges move closer to the channel bed.
The gates settle to the bottom. So the swing makes a barrier from bank to bank. The sinking closes the path that was still open underneath. Go back to the actual gates across the channel. The arms tell you when the swing is over. The lower edge is where the rest of the closure happens.