The guard lock was used to adjust water level in the canal and prevent damage during flood conditions.