We have measured the irreversible magnetization (M i ) of an ErBa2Cu3O 7−δ single crystal with columnar defects (CD), using a technique based on sample rotation under a fixed magnetic field H. This method is valid for samples whose magnetization vector remains perpendicular to the sample surface over a wide angle range -which is the case for platelets and thin films -and presents several advantages over measurements of ML(H) loops at fixed angles. The resulting M i (Θ) curves for several temperatures show a peak in the CD direction at high fields. At lower fields, a very well defined plateau indicative of the vortex lock-in to the CD develops. The H dependence of the lock-in angle ϕL follows the H −1 theoretical prediction, while the temperature dependence is in agreement with entropic smearing effects corresponding to short range vortex-defects interactions.