1st.
Try using /!command
The ! will ensure mIRC uses the built-in command and more.
e.g.
2nd.
When mirc is locked, there nothing you can do, there nothing you can type/do, you just have access to the tray icon in order to unlock it.
This is true, but you can by-pass lock password, so why all this trouble?