Try connecting an external keyboard if you cannot enter the password to log into your computer because of a malfunctioning keyboard. You can also enable the on-screen keyboard from the Ease of Access options to enter your password without needing a keyboard.