A device and method for locking onto a guidewire. The device includes an element transversely movable along the guidewire. The element may have a plurality of portions and a biasing member connecting first and second portions of the transversely moveable element such that the first portion and another of the portions are movable from a first position, where the first portion and the other portion are aligned with respect to one another, to a second position, where the first portion is no longer aligned with respect to the other portion, the device being locked to the guidewire in the second position. The device can be used for locking an embolic protection device including a filter to a guidewire that is adapted to be introduced into a vascular system of a patient.