Some sort of keyboard filter app would be needed. But such is not asked for a lot so there may be no ready to use or friendly app for this.

Research KEYBOARD MAPPER APPS and see if any do this. looks to be a solution using AUTOHOTKEY but your new to PC or non-programmer may not be able to use that idea.