The one shaped thing that opens a particular lock. What grants entry by fitting, not by force.
Old English caeg (key), of disputed and unusually obscure origin for so common a word — no secure cognate survives in the other Germanic languages; the one shaped thing that opens a particular lock by fitting rather than by force.
What grants entry by fitting exactly, never by force — the whole design of a lock assumes this distinction matters.