If you don't use target lock, using A and D will stop your AA during the time you move. I usually suggest using Legacy control scheme and learning to use target lock reflexively and dynamically depending on the situation. When dealing with AoEs, one needs to decide if strafing to the side while keeping the lock will be enough to get out or if you should quickly unlock and run away, again taking a hit to your AA output.