Block camera ahead of character like in crash bandicoot

I think we all know Crash Bandicoot.
I’m trying to improve my UE4 skills by making a level: Crash dash, Crash Bandicoot 2 - 100% Walkthrough, Part 5: Crash Dash - YouTube
Now, I know how to achieve a lot of stuff but I don’t find out a way to block the camera view ahead of the character as showed in the video linked above.
Someone can help me?