A locking device comprising a rotatably arranged housing, a plunger axially movable within the housing, a driver rotatably arranged at a first end of the housing, the first end directed towards a locking mechanism, to transfer motion from the housing to a latch, a drive means for moving the plunger, a transmission construction presenting two optional modes; one for transfer motion from the housing to the driver and one preventing transfer of motion from the housing to the driver, characterised in that, the transmission construction comprises a central ball and at least two outer balls arranged in a recess inside the first end of the housing and movable inside the recess to and from ball accommodating cavities and a seat depending on an optional mode so that when in a mode for transferring motion from the housing to the driver: the plunger is moved away from the first end, into the housing, the balls (17,20) are placed and held so that the central ball is by a resilient construction pushed against the seat in the recess keeping the central ball in a fixed and a middle, centre, position in the recess and having the outer balls placed radially outside it, and each of the outer balls is each, by the central ball, pushed radially in the recess at least partly into ball accommodating cavities inside the driver and being, by the central ball, held in contact with an inside of the driver so that motion from the housing is transferred by all the balls (17,20) to the driver and when in a mode preventing transfer of motion from the housing to the driver: the plunger is axially moved inside the housing in direction to the first end of the housing, a front portion of the plunger passes an opening in the seat and pushes the central ball to move from the middle, centre, position, in a direction opposite to the force from the resilient construction, into a bottom cavity in which the resilient construction and the central ball are placed, giving the outer balls space to move away from the ball accommodating cavities and the contact between the outer balls and the inside of the driver ceases. a rotatably arranged housing, a plunger axially movable within the housing, a driver rotatably arranged at a first end of the housing, the first end directed towards a locking mechanism, to transfer motion from the housing to a latch, a drive means for moving the plunger, a transmission construction presenting two optional modes; one for transfer motion from the housing to the driver and one preventing transfer of motion from the housing to the driver, characterised in that, the transmission construction comprises a central ball and at least two outer balls arranged in a recess inside the first end of the housing and movable inside the recess to and from ball accommodating cavities and a seat depending on an optional mode so that when in a mode for transferring motion from the housing to the driver: the plunger is moved away from the first end, into the housing, the balls (17,20) are placed and held so that the central ball is by a resilient construction pushed against the seat in the recess keeping the central ball in a fixed and a middle, centre, position in the recess and having the outer balls placed radially outside it, and each of the outer balls is each, by the central ball, pushed radially in the recess at least partly into ball accommodating cavities inside the driver and being, by the central ball, held in contact with an inside of the driver so that motion from the housing is transferred by all the balls (17,20) to the driver and when in a mode preventing transfer of motion from the housing to the driver: the plunger is axially moved inside the housing in direction to the first end of the housing, a front portion of the plunger passes an opening in the seat and pushes the central ball to move from the middle, centre, position, in a direction opposite to the force from the resilient construction, into a bottom cavity in which the resilient construction and the central ball are placed, giving the outer balls space to move away from the ball accommodating cavities and the contact between the outer balls and the inside of the driver ceases. the plunger is moved away from the first end, into the housing, the balls (17,20) are placed and held so that the central ball is by a resilient construction pushed against the seat in the recess keeping the central ball in a fixed and a middle, centre, position in the recess and having the outer balls placed radially outside it, and each of the outer balls is each, by the central ball, pushed radially in the recess at least partly into ball accommodating cavities inside the driver and being, by the central ball, held in contact with an inside of the driver so that motion from the housing is transferred by all the balls (17,20) to the driver and when in a mode preventing transfer of motion from the housing to the driver: the plunger is axially moved inside the housing in direction to the first end of the housing, a front portion of the plunger passes an opening in the seat and pushes the central ball to move from the middle, centre, position, in a direction opposite to the force from the resilient construction, into a bottom cavity in which the resilient construction and the central ball are placed, giving the outer balls space to move away from the ball accommodating cavities and the contact between the outer balls and the inside of the driver ceases.