Honestly, it’s incredibly difficult to not burn something like a turkey.
They’re freaking huge, and of significantly varied thickness. If you absolutely insist on doing a whole turkey, your most reliable method is to slow cook it for about a day. Souz vide, smoking. Something like that. Low and slow.
If you don’t want to spend the 24-ish hours just cooking, a better option is breaking the bird down, possibly Splatchcocking the thing. (Or you know just butchering it into thighs, drum sticks, wings and breasts. Carcass for stock.)