Meaning of lock in English
1. the part of a door, window, lid etc. that you use to keep it shut and to make sure that no one can open it
pick a lock with a pin
1. fasten or secure something with a key in order not to open it
Did you lock the door? ― Have you locked the door?