1A key used to open a lock (physical key).
家のキーを忘れてしまって困った。
I forgot my house key and it was a problem.
この机の引き出しは専用のキーでしか開かない。
This desk drawer only opens with its specific key.
鍵を複製してもらうためにキーショップに行った。
I went to a key shop to have a key duplicated.
2A key on a piano, organ, or computer keyboard (individual button/lever).
キーボードのキーが一つ壊れて入力できない。
One key on the keyboard is broken so I can't type.
ピアノの黒いキーを押すと独特の音が出る。
Pressing a black key on the piano produces a distinct sound.
3Musical key (tonal center or scale of a piece of music).
この曲はCキーで演奏されている。
This piece is played in the key of C.
転調して別のキーに移ると印象が変わる。
Changing the key (modulating) to another key changes the impression.
4A key or clue to solving something; an important hint or piece of information.
そのメモが事件を解くキーになった。
That note became the key to solving the case.
成功のキーは継続する力だと言われる。
They say the key to success is the power of persistence.
5A key person/point/element — the most important or central one (used adjectivally or prenominally).
彼はプロジェクトのキー人物だ。
He is the key person in the project.
販売戦略のキーとなる層を絞り込んだ。
We narrowed down the key demographic for the sales strategy.