A locking device includes a first locking member including a first end, a second end, a central axis, an outer surface with an external thread, a coaxial bore, and an internal thread provided along at least a portion of the bore, and a second locking member including a first end, a second end, and an outer surface with an external thread. When the second locking member is positioned in the first locking member, the second locking member is movable along the central axis by rotating the second locking member. Movement of the second locking member is limited towards the first end of the first locking member by a first stop and towards the second end of the first locking member by a second stop, where at least one of the first stop or second stop is arranged in the bore of the first locking member.