Allows AIs to use hazardlocks

I am absolutely certain that there is a better way to do this. Someone
else can do it, I'm just making it work.