What? What key are you talking about? Encryption key? Software activation key? Or license key to you game (unlikely)??? What is it you're trying to achieve?
You want to change the keyboard configuration for your game? Or be able to use more keys?
Anyways the solution to both is: a plugin.
Button for what? Please be more descriptive. If you want people to help you, at least give them more than a few words about what you're trying to do.
F1 in the game will allow you to change your keyboard configuration (only for you, not for your players). At least this worked in Ace.
F1 doesn't work in MV. Besides, I think OP wants to modify the controls of his games for all his players.
"keyboard configuration plugin"