You may be confusing the translation of the word you are using to get "lid". Your question makes more sense if the translation is "edge". As in "someone being on-edge" and something being "on the...
A locking lid is a type of lid that will lock so the lid cannot easily be taken off. Most locking lids have a latch, so the lid cannot lift up until the latch is unlatched.