There are two ways to do this:

- for legacy controls, press down the left stick. This enables 'lock on' and makes you strafe around the target. You have to press again to unlock if you want to dodge/do mechanincs though, which takes a bit of practice.

- switch off legacy controls entirely. This way your character will always face the direction your camrea is pointed at. If you want to effectively want to run away from your target though, you have to turn the camera in the direktion you want to move.

I'll suggest to try both and use whatever feels more comfortable for you. It's highly recommended to learn one of the two expecially if you're playing a melee class because of auto attacks. Hope that helps.