The easiest way to reset a forgotten Windows password is to use a previously created password-reset disk. You can create such a disk (on USB removable media or a floppy) within the Windows User ...
You mightn't think it, but the Windows 11 Recovery Environment is genuinely powerful.