you forgot to tell us what password.
Is it a bios password or windows password?
For Windows Password, As far as I know , there are two main methods to solve the windows password problem as follows:
1st Method:
Start system and when you see Windows Welcome screen / Login screen, press ctrl+alt+del keys twice and it'll show Classic Login box. Now type \Administrator\ (without quotes) in Username and leave Password field blank. Now press Enter and you should be able to log in Windows.
Now you can reset your account password from \Control Panel - User Accounts\.
Same thing can be done using Safe Mode. In Safe Mode Windows will show this in-built Administrator account in Login screen.
2th Method:
Windows password Recovery software:
for example:
Windows Password Recovery . It is easy and convenient to use.
For Bios Password, also two methods.
1st method . Open you computer box and Discharge to the Board manually
2st method . use
BIOS Password Recovery Hope it help to you.