Guard lock for a component for closing an opening having a fixed part and a movable part, with a bolt, which is guided movably between a locking and an unlocked end position in the longitudinal direction of the bolt, a drive implementing a movement for moving the bolt and a transmission device between the drive and the bolt, wherein the drive is an electric motor, and the drive, the transmission device and the bolt are coupled in terms of movement in such a way as to directly transfer kinetic energy, it being possible for the bolt speed to be regulated via a control, and it being possible for monitoring of the movement of the drive, which is coupled in terms of movement to the bolt, to be implemented by the control, and the control being connected to at least one sensor for determining the position of the movable part relative to the fixed part.