Hi Lorenat1,
Thank you for reaching out to Microsoft Community.
Please try these steps first to troubleshoot the issue:
1: Restart
Restart the Surface
2: Force Shutdown
Press and hold Power button for 20 seconds
3: Run Surface Diagnostic Toolkit and check for Windows Updates
If still issue persist after these steps, this is a hardware issue already on you typecover considering that it is also occurs on isolated keys also. I suggest that you try another typecover or a Bluetooth keyboard and check if issue still occurs to confirm the issue. Please Contact Supportalso so you could check for available replacement options especially if the device is still in warranty. If no, you may consider also getting a new typecover available at the Microsoft Store.
If this answer your question, we highly encourage you to inform our Community by clicking on Yes or marking my post as an answer. This will help other members who may have the same issue as you. Otherwise, don't hesitate to update us so we can further assist you.
Kind Regards,
Marrion Y.