If you're restoring a complete system image and the windows password was local, the original password will be restored. if you're logging into a Microsoft account to get onto the system, then restoring the image will not change that password.  
I had a fan issue. the dell technician changed the fan and the motherboard. I had a password (pin) to open my laptop, but after he was done i had to reset it and put in a new password. So question is, i had made 2 system images before so will they still work? If the answer is no... If i Reset the password back to the old one, will that work? (p.s.  yes i know i can make a new system image)
System image restore after parts changed