i do service for a living,, had this many times,, You may need access to a 2nd device though to fix, and its easy to fix unless something is broken with windows,, you can reboot to get to this screen , hold down power button for 15 seconds to power off if have to, then follow this screen click I forgot my PIN , next options depends on how you have set up your account ie if have recovery phone or email setup to get code sent to sent a reset pin link, then you can change your pin here or change it to the same pin as before will still work, , a few times i could not get this screen,, so only option was to re install Windows,, if you don't know how to re install windows you are in the wrong forum,, google how to reset / reinstall windows or get help from someone who knows how. (its free, ( and can create your windows 10 or 11 dvd or USB on Microsoft site, you just need a little know how. and you don't need a product key if windows has been activated on the device previously those days are gone, works like apples activation since windows 8 days, 7 had to enter a key every install, now it will choose what version , home or pro if you have the key in your bios if OEM pc, ie dell ,hp, lenovo,, if you paid for pro upgrade, and it installs home , just go to microsoft store for windows pro upgrade , and it will be free as it will know your system board serial number and see you paid for pro upgrade previously.
Download Windows 11 (microsoft.com) Download Windows 10 (microsoft.com)