Lock arrangement, which comprises a counterpart (101, 301) of the lock and a lock (102, 202) comprising a lock case, and which lock case can be fixed into a door and comprises a locking latch and a latch mechanism, which comprises electrical means for opening and/or closing the locking latch, which counterpart (101, 301) of the lock can be installed in the door frame wherein means for wirelessly sending electrical power to the lock case and/or into connection with the lock case are arranged in the counterpart (101, 301) of the lock, and means are arranged in connection with the lock case for wirelessly receiving electrical power from the means for sending electrical power that are arranged in connection with the counterpart of the lock, wherein electrical power is arranged to be transmitted from the means of the counterpart of the lock that are for sending electrical power to the means of the lock case that are for receiving electrical power, when the lock case and the counterpart (101, 301) of the lock are at a certain distance from each other, wherein the means for receiving and for sending electrical power are also arranged to transfer encrypted information relating to the operation of the lock, wherein the lock arrangement is configured such that the transfer of electrical power and data link between the lock and the counterpart of the lock is disconnected when the door is opened and the lock is without current when the door is open, and when the door is open, the counterpart of the lock is configured to scan for the presence of the lock at regular intervals, wherein the counterpart of the lock occasionally switches power to the lock so that the electronics of the lock would wake up when the door is closed and the transfer of power succeeds and when fully closing the door the transfer of power is started andwherein the lock arrangement is further configured to transmit electrical power and information between the lock and the counterpart of the lock only when the door is closed wherein the electronics of the lock is configured to activate as a consequence of the connection of power always after the door has closed, and wherein when the connection transferring electrical power has been formed, the lock and the counterpart of the lock are configured to create a data link between the lock and the counterpart of the lock and to authenticate each other. which lock case can be fixed into a door and comprises a locking latch and a latch mechanism, which comprises electrical means for opening and/or closing the locking latch, which counterpart (101, 301) of the lock can be installed in the door frame wherein means for wirelessly sending electrical power to the lock case and/or into connection with the lock case are arranged in the counterpart (101, 301) of the lock, and means are arranged in connection with the lock case for wirelessly receiving electrical power from the means for sending electrical power that are arranged in connection with the counterpart of the lock, wherein electrical power is arranged to be transmitted from the means of the counterpart of the lock that are for sending electrical power to the means of the lock case that are for receiving electrical power, when the lock case and the counterpart (101, 301) of the lock are at a certain distance from each other, wherein the means for receiving and for sending electrical power are also arranged to transfer encrypted information relating to the operation of the lock, wherein the lock arrangement is configured such that the transfer of electrical power and data link between the lock and the counterpart of the lock is disconnected when the door is opened and the lock is without current when the door is open, and when the door is open, the counterpart of the lock is configured to scan for the presence of the lock at regular intervals, wherein the counterpart of the lock occasionally switches power to the lock so that the electronics of the lock would wake up when the door is closed and the transfer of power succeeds and when fully closing the door the transfer of power is started andwherein the lock arrangement is further configured to transmit electrical power and information between the lock and the counterpart of the lock only when the door is closed wherein the electronics of the lock is configured to activate as a consequence of the connection of power always after the door has closed, and wherein when the connection transferring electrical power has been formed, the lock and the counterpart of the lock are configured to create a data link between the lock and the counterpart of the lock and to authenticate each other.