How to orient movement

Hello! I want to do character movement like in the last of us. I mean, when I press the d button, the character is walking sideways, the same is when he walks back and to the left. But at the same time, when the character moves forward, he moves in the direction of the camera. I have been trying to solve this difficult problem for me for a long time. p.s. sorry for not very good english. I wrote with the help of google translator

Heres a video that may help.

Have you tried this? :

Inside your player blueprint under the “Character movement component” Scroll down and uncheck “Orient Rotation to Movement” and then checkbox the “Use Controller Desired Rotation”