Canal lock system that's 1 chunk wide and 3 chunks long to raise or lower a boat or ship.
Filling is done with 6 hose pulleys on either side of the lock which takes about 2 minutes to fill at max speed (powered by creative engines in the schematic)
Draining is done with 1 hose pulley which takes about a minute.
v1 uses Automatic Trash Cans from Modern Industrialization but can be replaced with any block from another mod that can nullify liquids.
v2 uses Ender Tanks from Ender Storage to reduce pump and pipe requirements
Opening the big gate will stop the filling to prevent surroundings from filling with water.
Opening the small gate will also stop the draining to prevent the connected canal from being drained.