The easiest and cheapest solution is probably to recycle the water used to run the locks. Or, the entire problem can be avoided by piping saltwater inland to run the locks, with only a minimal contribution from Lake Gatun.
Salt water ruins the lock mechanisms so they use fresh water.