A method of operating a vehicle lock comprising a locking mechanism, wherein an opening of the lock comprises the following steps: transferring a blocking element of a blocking device by means of an actuator from a blocking position into a release position, wherein the blocking element blocks the actuation of the locking mechanism in the blocking position and releases the actuation of the locking mechanism in the release position; manually actuating an actuation element arranged at the lock; and transferring the actuation element from a passive state to an active state, wherein a latch of the locking mechanism is transferred from a latched position into an unlatched position by transferring the actuation element from the passive state to the active state, wherein the latch prevents a removal of a counter-piece from the lock in the latched position and allows the removal of the counter-piece from the lock in the unlatched position, wherein, after the completion of the actuation of the actuation element , said actuation element is transferred from the active state to the passive state and the latch is transferred from the unlatched position into the latched position, whereas the blocking element remains in the release position, wherein a closing of the lock comprises the following steps: inserting a counter-piece into the locking mechanism, wherein the actuation element is temporarily transferred to its active state during the insertion of the counter-piece; transferring the latch into the latched position, wherein, in the latched position, the latch and the counter-piece are in engagement with one another such that a removal of the counter-piece from the locking mechanism is prevented; and transferring the blocking element from the release position into the blocking position. transferring a blocking element of a blocking device by means of an actuator from a blocking position into a release position, wherein the blocking element blocks the actuation of the locking mechanism in the blocking position and releases the actuation of the locking mechanism in the release position; manually actuating an actuation element arranged at the lock; and transferring the actuation element from a passive state to an active state, wherein a latch of the locking mechanism is transferred from a latched position into an unlatched position by transferring the actuation element from the passive state to the active state, wherein the latch prevents a removal of a counter-piece from the lock in the latched position and allows the removal of the counter-piece from the lock in the unlatched position, wherein, after the completion of the actuation of the actuation element , said actuation element is transferred from the active state to the passive state and the latch is transferred from the unlatched position into the latched position, whereas the blocking element remains in the release position, wherein a closing of the lock comprises the following steps: inserting a counter-piece into the locking mechanism, wherein the actuation element is temporarily transferred to its active state during the insertion of the counter-piece; transferring the latch into the latched position, wherein, in the latched position, the latch and the counter-piece are in engagement with one another such that a removal of the counter-piece from the locking mechanism is prevented; and transferring the blocking element from the release position into the blocking position. inserting a counter-piece into the locking mechanism, wherein the actuation element is temporarily transferred to its active state during the insertion of the counter-piece; transferring the latch into the latched position, wherein, in the latched position, the latch and the counter-piece are in engagement with one another such that a removal of the counter-piece from the locking mechanism is prevented; and transferring the blocking element from the release position into the blocking position. <EOS>