Try using onscreen keyboard using your mouse....and enter the password with the onscreen keyboard by using mouse.... I faced and succeeded in this type of situation.
Google it with this key words"4 Methods to Unlock Your Laptop When Keyboard Not Working"