keyhole
Synonym discussion
Sense: noun/1
Keyhole (the lock opening) has few exact synonyms, but related terms differ in technicality. 'Key slot' is the closest alternative, but it is used more often for modern flat-key or electronic locks — for example, a hotel key card slot rather than a traditional door lock. 'Keyway' is a specialist locksmith term for the internal channel that guides the key's blade; everyday speakers almost never use it. 'Lock opening' is merely descriptive phrasing, not a standard noun. In ordinary English, 'keyhole' is the only common word for the visible hole in a door lock where you insert a metal key. You say 'She peeped through the keyhole,' not 'through the keyway' or 'through the lock opening.'
Common collocations
Etymology
Formed from 'key' (Old English cæg, a tool for opening locks) and 'hole' (Old English hol, an opening in a solid surface). The compound has been in use since the 1500s. The basketball sense dates from the early 1900s, named after the key-like shape of the free-throw lane before it was widened to a rectangle. The adjective senses developed from the image of peeping through a keyhole to observe private matters, a metaphor that appeared in the late 1800s.