The device has a lock system as well as a buffer spring to prevent inadvertent spraying of the pepper spray.