slot (n.1) Look up slot at Dictionary.com
c.1300, "hollow at the base of the throat above the breastbone," from Old French esclot, of uncertain origin. Sense of "narrow opening into which something else can be fitted" is first recorded 1520s. Meaning "middle of the (semi-circular) copy desk at a newspaper," the spot occupied by the chief sub-editor, is recorded from 1917. The sense of "opening in a machine for a coin to be inserted" is from 1888 (slot machine first attested 1891). The sense of "position in a list" is first recorded 1942; verb sense of "designate, appoint" is from 1960s. Slot car first attested 1966.
slot (n.2) Look up slot at Dictionary.com
"bar or bolt used to fasten a door, window, etc.," c.1300, from Middle Dutch or Middle Low German slot (cf. Old Norse slot, Old High German sloz, German Schloss "bolt, bar;" Old Saxon slutil "key"), from Proto-Germanic stem *slut- "to close" (cf. Old Frisian sluta, Dutch sluiten, Old High German sliozan, German schliessen "to shut, close"), from PIE root *klau- "hook, peg" (cf. Greek kleis "key;" Latin claudere "to shut, close," clavis "key," clavus "nail;" see close (v.)). Wooden pegs were the original keys.