The key-lock mechanism refers to the specific binding of a molecule (the "key") to a cellular component (the "lock"). This concept is fundamental in pharmacodynamics and is used to explain how drugs and toxicants exert their effects. A highly specific fit, akin to a key fitting perfectly into a lock, is necessary for the activation or inhibition of biological pathways. This specificity is what determines the selectivity and potency of a compound.