This web page from Microsoft has a very nice explanation on reinstalling Windows 11. You should not have to change any settings with TPM and Secure Boot. I have reinstalled Windows 11 a number of times without touching those settings. Remember you had to have TPM and Secure Boot enabled in order to upgrade or clean install initially. A reinstall is simply a clean install again.
Just Checking. I think I need to reinstall Windows 11 this weekend. I'm having some problems and I think a clean install would be the best way to go.  I have done clean installs with Windows 10 every time there was a new version and never had a problem. But I haven't tried this with Windows 11. I am not familiar with TPM and Secure Boot. Can I just reinstall using Windows Media Creator like with Windows 10, or do TPM and Secure boot cause problems with a clean install I don't know about? Thanks
Reinstall WIndows 11?