The locks of the Erie Canal were the engineering breakthrough that made the 584-km (363-mi) artificial waterway possible across New York's varied topography.
Locks are gated chambers that raise or lower boats between canal sections at different elevations. By admitting or releasing water (via gravity-fed sluices), the water level inside the lock equalizes with the upstream or downstream pound, allowing the boat to float in or out.
The Erie Canal traversed a 170-m (565-ft) elevation difference between the Hudson River (sea level) and Lake Erie. 83 locks (originally; 35 enlarged later) stepped boats up and down this gradient—typically 3–4 m (10–12 ft) per lock.
Without locks, the canal would have required impossibly deep cuts or high embankments. Locks allowed the canal to follow the landscape's contours, minimizing excavation while maintaining a navigable water surface. They transformed a series of isolated river segments into a continuous, navigable highway.
The Erie Canal's lock system became the model for North American canal construction (Chesapeake & Ohio, Welland, etc.). It reduced freight costs 90%, opened the Great Lakes to NYC, and accelerated westward expansion. The phrase "lock, stock, and barrel" echoes their completeness.