* Noun: When referring to a self-propelled vehicle, especially a train engine.
* Adjective: When describing something that moves or can move on its own.
Here are some examples:
Noun: The locomotive pulled the train across the country.
Adjective: The locomotive engine roared to life.