If they used ocean water, the canal would use a lot more power (and possibly would not have been economically feasible to operate). Plus, the population depends on Gatun Lake as its major source of drinking water.
Of course, during Project Plowshare, one proposal was to dig a new sea-level canal through Nicaragua with nuclear weapons instead of TNT.