To try and keep it simple

The point is that in your scenario, the locks would have needed to have been operated in order to get all those boats in, and as the lock doors were opened to allow the boats into the channel, the displaced water would have flowed back into the lock.