A structure in a waterway with gates at each end, used in raising and lowering vessels from one water level to another