Hello, I am a graduate student and for one of our experiments we would like to make it so we can control the number of keyboard inputs a person can do at a time.

So for example they will be typing into a word document and we want to make it so that the program will only accept inputs after a certain amount of time has passed(say.37 seconds). So they hit one key, then any further key presses will not be recorded by the computer until a certain amount of time has passed.

Is there any advice or products that you guys have or can recommend that will allow us to do this? The simplest way I would think is something that prevents the computer from receiving signals from the keyboard for a preset amount of time. Any help would be appreciated, we have been trying to do this for awhile now with no success.