Microsoft probably does not provide a step-by-step, but this one may be helpful.
https://www.rebeladmin.com/2016/01/step-by-step-guide-to-downgrade-domain-and-forest-functional-level/
--please don't forget to upvote
and Accept as answer
if the reply is helpful--