How do you put a pasword on your computer?

If it's a computer that runs on Windows (e.g. Windows XP) then you go to the Control Panel on the Start Menu and click on User Accounts> Change Accounts> the account you want to change> Create a Password.