Bought a pc from auction with win8.1, never needed a password to logon, upgraded to win10 and now being asked for a password.

Is there a way to find the password or remove it?

Thanks