The present invention pertains to an aerosol generating device comprising a housing (1, 2) having at least one air inlet (8) and at least one air outlet (11) and defining a principal air flow channel (P1) there between, an aerosol generator (5) positioned within the housing for providing an aerosol to the outlet, an activation device (4) positioned in the principal air flow channel and arranged to selectively activate the aerosol generator and airflow modifying means (9) arranged to enable a user to modify the airflow in the principal airflow channel in use, said modified airflow being detected by the activation device and thereby activating the aerosol generator. In particular the present invention pertains to electronic cigarettes or vaporizers which comprises means to avoid children or young person to use said aerosol generating device.La présente invention concerne un dispositif de génération d'aérosol comprenant un logement (1, 2) présentant au moins une admission d'air (8) et au moins une évacuation d'air (11) et délimitant un canal d'écoulement d'air principal (P1) entre elles, un générateur d'aérosol (5) positionné à l'intérieur du logement pour fournir un aérosol à l'évacuation, un dispositif d'activation (4) positionné dans le canal d'écoulement d'air principal et conçu pour activer de manière sélective le générateur d'aérosol et des moyens de modification d'écoulement d'air (9) conçus pour permettre à un utilisateur de modifier l'écoulement d'air dans le canal d'écoulement d'air principal lors de l'utilisation, ledit écoulement d'air modifié étant détecté par le dispositif d'activation et activant ainsi le générateur d'aérosol. La présente invention concerne en particulier des cigarettes électroniques ou des vaporisateurs qui comprennent des moyens permettant d'éviter que des enfants ou des jeunes n'utilisent ledit dispositif de génération d'aérosol.