A device for preventing unwanted opening of a locked enclosure, comprising: a lock bolt mounted for movement between a locked position and an unlocked position; a lever arm moveable between disengaged and engageable positions and operatively coupled to the lock bolt to move the lock bolt between the locked and unlocked positions; a rotary element engageable with the lever arm in the engageable position thereof and disengaged from the lever arm when the lever arm is in the disengaged position, wherein rotation of the rotary element when the rotary element is engaged with the lever arm moves the lock bolt between the locked and unlocked positions; a motor; a worm gear driven by the motor in a first direction and a second direction; a face gear meshable with and rotatable by the worm gear between first and second positions when the worm gear is driven by the motor in the first and second directions, respectively; a blocker member rotatable between a locking position and an unlocking position; a biasing member operatively coupled to the face gear and the blocker member, wherein when the face gear is rotated between the first and second positions by the worm gear, the biasing member biases the blocker member in a biasing direction, the biasing direction being a direction of rotation of the face gear; and a sliding member selectively engaging and disengaging the blocker member, wherein the sliding member selectively disengaging the blocker member allows the blocker member to rotate in the biasing direction, and the lever arm is operatively coupled to the sliding member such that the lever arm is in the disengaged and engageable positions when the sliding member engages with the blocker member in the locking and unlocking positions, respectively. a lock bolt mounted for movement between a locked position and an unlocked position; a lever arm moveable between disengaged and engageable positions and operatively coupled to the lock bolt to move the lock bolt between the locked and unlocked positions; a rotary element engageable with the lever arm in the engageable position thereof and disengaged from the lever arm when the lever arm is in the disengaged position, wherein rotation of the rotary element when the rotary element is engaged with the lever arm moves the lock bolt between the locked and unlocked positions; a motor; a worm gear driven by the motor in a first direction and a second direction; a face gear meshable with and rotatable by the worm gear between first and second positions when the worm gear is driven by the motor in the first and second directions, respectively; a blocker member rotatable between a locking position and an unlocking position; a biasing member operatively coupled to the face gear and the blocker member, wherein when the face gear is rotated between the first and second positions by the worm gear, the biasing member biases the blocker member in a biasing direction, the biasing direction being a direction of rotation of the face gear; and a sliding member selectively engaging and disengaging the blocker member, wherein the sliding member selectively disengaging the blocker member allows the blocker member to rotate in the biasing direction, and the lever arm is operatively coupled to the sliding member such that the lever arm is in the disengaged and engageable positions when the sliding member engages with the blocker member in the locking and unlocking positions, respectively.