If your keyboard doesn't work, no problem. Boot up your PC, log into Windows even if you have to do it via on-screen keyboard.
For precision purposes, unplug your USB keyboard.The backlight is the key to success here. The backlight may turn off, but you are still able to use it and turn it back on again. However, once you force shutdown and every time since then that you force shutdown (hold power for several seconds), the keyboard works.
It's a problem where if you manually restart or shutdown via Windows, the keyboard stops working. I've tried draining battery, updating firmware in safe mode, closing services, all the suggested ones you name it. I'm sure we all understand the feeling and comfort of it. It's my laptop and I simply just want to use this.
I absolutely don't want to use any other keyboard. So if you're one of the many affected whose keyboard stopped working after the latest 'critical update', where you turn on your laptop (mine being Legion y540) and you have to use the on-screen keyboard to sign in and/or you use a separate plugged keyboard, then this may help.