A locking mechanism (11) for an aerosol dispenser (1), wherein the locking mechanism (11) comprises: a first body structure, a second body structure (9) configured to be rotatably attached to the first body structure, a spindle (13) configured to be rotatably attached to the second body structure (9), the spindle (13) having an actuator (19) configured to rotationally cooperate with the first body structure such that rotation of the first body structure relative to the second body structure (9) causes rotation of the actuator (19) and of the spindle (13), a movable element (15) arranged around the spindle (13), the spindle (13) being rotatable relative to the movable element (15), wherein rotation of the spindle (13) causes movement of the movable element (15) along the spindle (13) from an initial position to a final position, and a locking element (17), wherein in the final position the movable element (15) is configured to apply a radial force onto the locking element (17) causing the locking element (17) to bend in the radial direction thereby preventing rotation between the first body structure and the second body structure (9).L'invention concerne un mécanisme de verrouillage (11) pour un distributeur d'aérosol (1), le mécanisme de verrouillage (11) comprenant : une première structure de corps, une seconde structure de corps (9) conçue pour être fixée rotative à la première structure de corps, une broche (13) conçue pour être fixée rotative à la seconde structure de corps (9), la broche (13) ayant un actionneur (19) conçu pour coopérer en rotation avec la première structure de corps de telle sorte que la rotation de la première structure de corps par rapport à la seconde structure de corps (9) provoque la rotation de l'actionneur (19) et de la broche (13), un élément mobile (15) disposé autour de la broche (13), la broche (13) pouvant tourner par rapport à l'élément mobile (15), la rotation de la broche (13) provoquant le mouvement de l'élément mobile (15) le