If you forgot your PIN code but still remember your password, it can be an easy task to remove the forgotten PIN.
1: Sign in to Windows 10 with password.
2: Click or tap on the Win icon in the lower left corner of the desktop to bring out Start menu. Then select Settings.
3: Settings panel opens. Select Sign-in options. Click on I forgot my PIN link.
4: Type your account password and click OK.
5: Leave the PIN fields blank and click Cancel. Then the PIN can be removed.