Captain Stable, your method would work against a dumb key logger, but more sophisticated key loggers may be able to record mouse movements and changes in focus.
Like FDRs, some key loggers are more sophisticated than others.
And it's not only in Dubai