I don't support the method of reinstalling OS to solve the problem of the computer forgetting the password.But things have happened,you'd better do a clean Windows 10 installation again,Microsoft provides a Windows Media Creation tool to install Windows 10.