I pressed every key on my keyboard, to no avail. Interestingly, one time I was stuck with the inventory open, and I was able to get out of the inventory using the function keys, but my character was still stuck.
I wonder what would happen if I switched to my controller during a lockout. I'll try...