How Do Locks Control The Water Level