I don’t know everything I tried…. ha.
I actually just went out and got a Bluetooth keyboard and when I hooked it up the disconnecting problem went away. I picked up an small Anker brand at Walmart. I have uninstalled it and installed it a couple of times when the problem came back after updates. I am glad I didn’t return it after everything started working again. Knock on wood it keeps fixing the problem. I don’t think I will update for awhile to keep the magic going. Good luck.