Hello YAMP ..., welcome to the Microsoft community, my name is Bruno Leonel, an independent consultant and I would be happy to help you.
I understand that this is uncomfortable, but I will help you with the steps below.
According to your description you want information on how to set up so that the user account password does not expire in Windows 10.
In that case I suggest you follow the steps below:
Press Windows + R keys and type compmgmt.msc
Click on OK.
Within Computer Management, double-select the "local users and groups" option, then click on users.
Double-click the user account you want to change and select the "Password never expires" option.
Click ok and close the window.
I hope this helps, If the error still occurs, feel free to post again. We will be ready to help!