I hace done, I have done and I was not punished for doing.
The Game is meant to be played manually, but you are not using any external program or macro to play It, noone it. No one can knows if it is you pressing the Burton of the keyboard or something you put on It to lock It..
So Maybe It is not legal, but It is neither ilegal.illegal.