Problems setting up main camera

Hey guys, im confused to why my camera doesnt lock. I will leave the game to run for a few seconds and it weirdly transitions into another position like so:

any ideas why my camera does this

Sorry very noobish of me, i forget to uncheck the controller view rotation. problem solved