Hello, my name is Emmanuel and I am an Independent Advisor. I'll be more than happy to assist you today!
I am so sorry to hear that you are having an issue with your computer that triggers taking screenshots when pressing keys on the keyboard. Kindly try uninstalling and reinstalling the keyboard driver by right-clicking the Start menu icon, then choosing Device Manager > double-click keyboard to expand > right-click the keyboard you are using, then choosing uninstall device. Restart your device after this, and then try again with your keyboard to see if it is no longer taking screenshots.
I hope this information can help you.