Using Caps lock as a response key (but disabling the capitalizing feature)

Description of the problem: I am running a simple Stroop task remotely, and although I have had success using the caps lock as a response key when piloting locally on psychopy, it seems that the capitalization function gets in the way when running this in a browser. Is there a way to disable this feature and still allow for the caps lock key to be a response key? (This is to ensure that the buttons are equidistant and remove any orthographic overlap between letter keys and the stimuli.)

Thanks in advance!