This might not be reliant, but you could set mIRC to require a password on Startup.

Tools -> Options -> Other -> Lock

I have this set so that I do not accidentally open another instance of mIRC, and to also keep mIRC "locked down" while I am away from my computer.