detent

dɪˈtɛnt

noun

a catch in a machine which prevents motion until released.

a system of detents is used to ensure that gears are held in whatever position is selected