lock
noun
°Something used for fastening, which can only be opened with a key or combination.
°(computing by extension) A mutex or other token restricting access to a resource.
verb
°To become fastened in place.
"If you put the brakes on too hard, the wheels will lock."
°To fasten with a lock.
"Remember to lock the door when you leave."