_Added in 1.9.4_ h1. $locked Returns [[$true]] if AdiIRC is currently [[/lock|locked]], otherwise [[$false]].