Some keys on my keyboard are not working.

Some keys on my keyboard are not working. This issue started after I was messing around in system preferences, and it only affects the User with which I made preference changes. If I switch to a Guest User account on the same computer all keys work. Can you tell me what setting I changed to make this happen.Only certain keys do not work, like the M and L key for example.
Using a MacBook Pro TouchBar, macOS Sierra, Version 10.12.5 (16F73)
I don’t have a clue to what you may have changed in the keyboard preferences that has caused this issue for you. While awaiting a reply from someone who may know how to help you with this matter, don’t hesitate to take a trip to the nearest Apple Store for assistance.

Original thread: https://forums.imore.com/threads/some-keys-on-my-keyboard-are-not-working.391436/