lock: enclosure consisting of a section of canal that can be closed to control the water level; used to raise or lower vessels that pass through it
enclosure: a structure consisting of an area that has been enclosed for some purpose