It’s maintenance that that happens every ten years or so for one of the New York State Canal Corporation locks. Five to six locks a year go through this. They dam the lock, then drain it and clean out the bottom. Each large gate is removed and rebuilt before being reinstalled.
For the last few years its been free to use the locks and the plan is to keep this up till at least 2021.