In the Chapter A Journey in the Dark, while gathered at the Doors of Moria, Gandalf says: "I once knew every spell in all the tongues of Elves or Men or Orcs, that was ever used for such a purprose."
How can speaking certain specific words cause an object to react? I can't imagine that it is...