Yes it is useful, and it already exists. When you minimize mIRC, press and hold ctrl. If you have a password already set in the lock options thats all you must do, if not mIRC will prompt you to enter a password. When you try to maximize mIRC you enter that password.