A device for locking the wheel of a vehicle. The device comprises a main module adapted to be attached to the wheel and configured to cover nuts or bolts for attaching the wheel to the vehicle. The device further comprises an insert structure comprising a first part and a second part wherein the first part engages the second part and wherein the insert structure is transferable from a first position to a second position upon compression of a spring. Moreover, the insert structure in said second position is adapted for insertion in the wheel concentrically to the axis of rotation of the wheel and the insert structure in said first position is adapted for fixating the insert structure in said wheel upon transfer to the first position after insertion in the wheel. The device further comprises a center bolt adapted to be connected through the main module to the second part of the insert structure by means of a threading as well as a locking mechanism adapted to be arranged in a locking state in which the locking mechanism prevents the center bolt from rotating relative the main module, and in an open state in which the locking mechanism allows the center bolt to rotate relative the main module.