A small device used to open locks; a key (for doors, cars, lockers, etc.).
毎朝、家の鍵をテーブルに置いて出かける。
Every morning I put my house key on the table and leave.
鍵が見つからないから、コートのポケットを確認してくれ。
I can't find my key, so please check the pocket of my coat.
スペアの鍵を作っておいた方が安心だ。
It's safer to have a spare key made.
A lock mechanism (the locking device itself). It can refer to the lock (as opposed to the key).
玄関の鍵(錠)が壊れていて、玄関が開けられない。
The front-door lock is broken, so I can't open the entrance.
この金庫は新しい鍵に交換されたため、扱い方を教えてもらった。
The safe's lock was replaced with a new one, so I was shown how to use it.
古い建物は鍵(錠)の形式が特殊で、修理が必要だった。
The old building had an unusual type of lock, so it needed repair.
A crucial element or clue that leads to solving a problem or achieving success; often used in phrases like 'be the key to ~'.
そのデータが事件解決の鍵になった。
That data became the key to solving the case.
成功の鍵は地道な準備だと言われている。
They say the key to success is steady preparation.
彼の証言が裁判の鍵を握っている。
His testimony holds the key to the trial.