Hi, Cola411
Welcome to the Microsoft Community, based on your description, the trouble you are currently experiencing is that the keyboard is not recognized.
You can do the following to troubleshoot your Surface's keyboard:
Troubleshoot Surface Type Cover or Keyboard - Microsoft Support
You can also try : Install the official Surface driver package, all Surface model driver package URL: Download drivers and firmware for Surface - Microsoft Support (System version query: Start menu - Settings - System - About - Windows specifications - Version) to download the corresponding driver package.
If none of the above steps can troubleshoot the problem, there may be a problem with the hardware,
- Go to Contact Us - Microsoft Support
- Choose how you would like to get support for your Surface device.
- Type in the problem you need help with.
- Look at any available solutions offered and select Contact Support.
I wish you all the best and hoping you'll get a resolution there.
For the surface app stay open issue, it is recommended that you open the task manager to force the task to end.
I hope the above information can help you. If my understanding is wrong, please point it out to me so that I can assist you better.
Huon | Microsoft Community Support Specialist