Hi I want to create a shooter in third person but if I turn my mouse with the third person template, the mouse locks at the edge. Is it possible to let the courser turn like in Fortnite without ending

As you can see at the question I have a problem with the mouse courser. It is like the character turns and then the courser crashes at a wall and I can only turn back