I have a laptop which has been password protected and cannot be used.

Could you advise on how much to replace the hard drive, upgrade the RAM and install windows 10 operating system.