Furthermore: many (but not all) canals are separated from the adjacent waterways either by lock gates or by pumping stations.

or elevators boat lifts.

https://wiki.openstreetmap.org/wiki/Tag:waterway=boat%20lift?uselang=en