When I try to put the parent socket of the camera to my head it says "Cannot change socket on inherited components

I chose a third person game but I want to put the camera inside the head because of better movement and that error keeps popping up and I don’t know what to do