Device for locking a guide wire in a fixed position with respect to the catheter or the human body