Canals (such as NY's Erie Canal) use locks to deal with changes in elevation (water runs downhill). They are essentially tanks with doors on each end. A hydraulic system is used to fill and lower the level of the water in the lock to allow ships to move from one elevation to another.