mIRC has an option to 'Lock' mIRC. A vulnerability (this is most probably by design) in the way mIRC stores its locking information in the registry allows bypassing.

Why lock something that can not be locked?