Unreal Engine 5 Camera

Help me. I’m a game developer and I already have good experience in ue5 and ue4, but I’ve never thought about how to make a camera like in it takes two. That is, it should not go into the objects, but it was also possible to look behind them as in the photo below. How to do this?