is this a wired keyboard or a laptop keyboard? Or wireless keyboard?
Can you reinstall the keyboard drivers in device manager?
If you need additional help or have more questions or details to share, please join the site so you can reply in this thread. See this link for instructions on how to join Windows Central.