Fetching details from the dictionary...
key (for a lock)
key (of a piano, organ, computer keyboard, etc.)
key
key (to solving something); clue
key (person, point, etc.); most important
ホテルのキーをフロントに返した。
I returned the hotel key to the front desk.
キーを失くして家に入れなかった。
I lost my key and couldn't get into the house.
合鍵のキーを一本作ってもらった。
I had a spare key made.