Microsoft 365 features that help users manage their subscriptions, account settings, and billing information.
Sorry to hear that you're experiencing this issue. Could you please clarify whether you are unable to sign in to Windows on your old computer or whether the problem occurs when signing in to Microsoft 365 applications? Your Windows PIN, local account password and Microsoft account password are different credentials. Additionally, please confirm which version of Windows your old computer is running and share a screenshot of the exact error message you receive when requesting a verification code, hiding your personal information.
I would also recommend trying to sign in at https://account.microsoft.com from another device. If you have forgotten your Microsoft account password, you can attempt to reset it at https://account.live.com/password/reset. If the verification code procedure fails, please use Microsoft's Sign-in Helper at https://aka.ms/sign-in-helper.