I'm working on a small experimental project in Unity, and I want to lock on to an enemy. My camera behaves similar to Dark Souls camera, by using Cinemachine Free Look camera. Now I want to be able to click a button, and lock onto the enemy, similar to how the dark souls camera works, displayed in this video. I also made an image to explain what I'm looking for. I want both the player and the enemy be in the vertical center of the screen while locked on, but I want the camera to follow the player, while rotating around the enemy basically.
I have tried to add both the player and the enemy in a target group, but it doesn't behave the way I want it to. Sure, it looks at both the player and the enemy but it doesn't keep them aligned like I have tried to show in the image and the video.