1. noun /lɒk,lɑːk/
"Give me the key," said my mother; and though the lock was very stiff, she had turned it and thrown back the lid in a twinkling.
...the application must first acquire a lock on a file or a portion of a file before reading data and modifying it.
2. verb /lɒk,lɑːk/
a) To become fastened in place.
If you put the brakes on too hard, the wheels will lock.
b) To fasten with a lock.
Remember to lock the door when you leave.
Wikipedia foundation.