There are gates and sluices at the ends of the Afsluitdijk. The gates, called locks, can be opened to let ships through. The sluices let water out of the IJsselmeer. If there were no sluices the lake would fill up and flood the countryside. This is because it is always being filled with water from rivers and the polders which are still being drained.