You could try...
1. Turn off the laptop.
2. Connect an external keyboard.
3. Turn on the laptop.
This 'should' give you access so you can type.
After getting into your system...
A. Uninstall the keyboard driver.
B. Reboot the laptop. Yes, without reinstalling the keyboard driver.
C. When the system reloads, it should reinstall the driver for you.
When you reboot, keep the external keyboard connected. Once the driver is reinstalled, turn off the laptop, remove the external keyboard, and then start it up again.