TO GIVE UP - [verb] to stop doing something; to realise that you cannot do something and so stop trying to do it

Examples of use

My New Year's resolution was to give up smoking and start living a healthier life.

I tried so hard to discourage her from marrying him, but she was so stubborn that I finally gave up.

TO LOCK - [verb] to fasten something, usually with a key; to put something in a place and close it with a key

Examples of use

He had never locked the door for a night before there was a burglary in his flat.

Pirates locked all their treasures in a chest.