Ooops, I spoke too soon.
It is NOT locking the keyboard.
I type
/set %locked 1

now I type 'test'
up pops the windows input request window
If I just hit enter without inserting any password, the window disappears and the channel is now unlocked.
What I typed to bring up the input window is now sent to the channel.
What did I do wrong?