I dunno, don't lock on to the target then? You don't need to use that function, and IMO it hurts more than it helps.

ESC > Character Configuration > Control Settings > Target > uncheck "Automatically lock on target when initiating auto-attack".