* Noun: A device used to secure something, like a door lock.
* Verb: To fasten something securely, like "Lock the door."
* Adjective: Describing something that is firm or unchangeable, like a "lock on the price."
To determine the part of speech, you need to look at how the word is used in the sentence.