The utility model discloses an operating mechanism of a dial code lock makes the dial code lock more stable, and it includes
password component, knob, movable block and lock tongue, the
peripheral surface of
password component is rotatably matched with knob, and movable block is slidably matched with the inner wall of knob along the axial direction of knob, and lock tongue is slidably matched with the inner wall of knob along the axial direction of knob and is arranged in movable block,
password component includes movable axle and
retainer that move along the radial direction of knob, the end of movable axle is movably matched with the upper of movable block, and with the rotation of knob, lock tongue is contacted and presses down movable block, the end of
retainer is movably contacted with the inner arc surface of movable block, and when movable block is pressed down by movable axle, it is stretched to realize the movable cooperation on the upper surface of movable block, the end of inner arc surface is provided with notch, and the back slope is arranged between notch and inner arc surface, when the end of
retainer is embedded in notch, movable block resets, and when knob resets, the back slope makes retainer reset.