detent
noun
°That which locks or unlocks a movement; a catch, pawl, or dog; especially, in clockwork, the catch which locks and unlocks the wheelwork in striking.
verb
°The action of creating a detent mechanism to lock or unlock movement.