Lock (water navigation)
A lock is a device used for raising and lowering boats, ships and other watercraft between stretches of water of different levels on river and canal waterways. The distinguishing feature of a lock is a chamber in a permanently fixed position in which the water level can be varied. (In a caisson lock, a boat lift, or on a canal inclined plane, it is the chamber itself (usually then called a caisson) that rises and falls.)
Locks are used to make a river more easily navigable, or to allow a canal to cross land that is not level. Over time, more and larger locks have been used in canals to allow a more direct route to be taken.