How can you get a person's password to log into their computer?

Ask them. If they won't give it to you, you probably shouldn't have it anyway.