In either File > Options > Customize Ribbon or File > Options > Quick Access Toolbar, set the "Choose commands from" dropdown to either "All Commands" or "Commands Not in the Ribbon". Then you'll find the Lock command in the list, after List Commands and before Lock Fields.