A Canal lock chamber can fill with water in eight minutes. To raise a ship, fresh water is pumped via gravity through culverts that were built into the side and center walls of the locks. The culverts send water into chambers through holes in the floors.
https://www.lindahall.org/experience/digital-exhibitions/the-land-divided-the-world-united/08-locks/

