Turn Off Your Antivirus and Run a Malware Scan
Viruses are dangerous causes that cause problems with your computer, leading to your PIN being rejected. To prevent this, temporarily disable any third-party anti-virus programs you are using. If disabling the security suite resolves the problem, you should disable it permanently.
Additionally, you can temporarily disable Windows Defender by turning off Microsoft Defender and then you should turn the security suite back on because leaving it off for too long can expose your device to malware.
Malware can reduce system functionality. To rule out this possibility, you can run an offline scan of Microsoft Defender. This way, you ensure that system performance is not affected by hidden malware.