Something here could help.
https://learn.microsoft.com/en-us/office/troubleshoot/activation/tpm-malfunctioned
- From Start, select Settings (the gear icon) > Update & Security > Windows Security > Device Security.
- Under Security processor, select Security processor details > Security processor troubleshooting.
- Select Clear TPM.
- Restart the device and try to activate Microsoft 365 again.
--please don't forget to close up the thread here by marking answer if the reply is helpful--