1) The boat enters through the gate on one side of the lock
2) The gate will close so that the boat is inside of a sealed chamber
3) The lock operator uses a system of pumps and valves to change the water level from either high to low, or low to high.
4) After the water level has changed, the boat exits through the gate into the other body of water.