(covers information from several alternate timelines)
A key was a small object used to open some kinds of locks.
A key was used to secure handcuffs around Captain Jonathan Archer's wrists when the Ferengi were holding him prisoner. After rendering one of the Ferengi (named Krem) unconscious with a Vulcan nerve pinch, Sub-Commander T'Pol stole the key from him. She later teased Archer with the key, but eventually used it to unfasten the handcuffs. (ENT: "Acquisition")
In 2372 of the mirror universe, a Klingon guard accused Elim Garak of stealing the key to his collar, an action Garak patently denied. After Regent Worf stabbed him in the abdomen, the guard realized that the missing key had fallen into his boot, instead. (DS9: "Shattered Mirror")