An inhalation atomizer (1) comprising a blocking function through a locking mechanism and a counter (26) along with a method to discharge and atomize fluid (2). The atomizer is accommodated in a two part housing, wherein the two parts are mounted to be rotatable relative to each other, and can be blocked through a locking mechanism. The locking mechanism is realized mainly by two protrusions. Protrusion A (28) is located on the outer wall of the lower unit (17b) of the inside part (17). Protrusion B (29) is located on the inner wall of the counter. When the inhalation atomizer is actuated each time, the counter will make a rotation with a constant angle around the lower unit of the inside part. Once the predetermined number of actuations has been achieved, Protrusion A and Protrusion B will encounter with each other and hence the counter will be prevented from further rotation. Therefore, the inhalation atomizer is blocked and stopped from further use. The number of actuations of the device can be counted by the counter. Only when sufficient force is applied to destroy the device, this locking state of the device can be overcome. The inhalation atomizer can be blocked suitably by this locking mechanism.