added BOTLOCK definition