From Wiktionary, the free dictionary
From lock + master.
lockmaster (plural lockmasters)
- Someone who is in charge of a canal lock.
2021, William E. Ellis, The Kentucky River:Lock operations required both the lockmaster and lockman, often supplemented by deckhands on a towboat.