Goto Start -->Control Panel --->User Account --->Click on the account on which you have to apply Password --->Create Password --->fill the password and the required details --->Press ok
Restart the computer