Hi Johnny,
In many cases, downloading and installing the latest updates for Windows and your Surface will fix the issue. If you have already done this, please follow the rest of the steps in our Troubleshoot your Surface Type Cover or keyboard article. You can also run the Surface Diagnostic Toolkit to check for possible software issues.
We'll keep an eye out for your response.
Regards.
Mod Edit: Updated the Troubleshoot your Surface Type Cover or keyboard guidance in regards to device updates.