I have had this problem on and off for a year.
The only solution I have discovered that works well is turn the on screen key board function (select the ease of access button).
Then with the Mouse click on the num lock key on the screen; this will reactivate the real keyboard keys.
Hope this works for you.