Hello,
Yes. If you make security- or software-related changes to your device, such as updating Windows or the BIOS, you may be prompted to reset your PIN when signing in. In such situations, you will need to verify your identity by signing in with your Microsoft account. If you cannot provide the required credentials, you may be locked out of the device. Resetting the device may then be the only available option, which could result in data loss.
Before proceeding, back up all important files, including any files stored in OneDrive. Once your data is safely backed up,
Reset your PC to factory defaults and set up Windows using a different Microsoft account.
To reset your PC, go to Start > Settings > System > Recovery > Reset this PC > Remove everything, then choose Local reinstallation.
Meanwhile, you can submit an account recovery request to the Xbox recovery team, which handles compromised accounts even when the information has been changed. Try to provide all the required details accurately and submit the form.