Are you on Windows 11? There is an ongoing fTPM issue with AMD firmware that can cause behavior like that. I had this issue and ultimately just disabled TPM in the BIOS. Its supposed to be required for Win 11, but I haven't seen any issues since disabling.