Etymology
Today it means: A key that locks and unlocks a door. Full definition →
From door + key.
Etymology from Wiktionary, CC BY-SA 4.0.