Once you have moored up you have to open up the sluice, let the water out, then open the gates, get the boat and tie up in the lock. Next close the gate, re-flood and open up, sail out, moor up then come back to close the gates. Whew.