lock
The lock has been opened.
He puts a lock on the glass door.
He will use the key to open the lock.
noun 1
a thing that keeps a door, drawer etc fastened or closed