When you switch the air con on using the button in the dash,it sends a live to the pump. You could use a bit of wire and attach it to the battery. Then put the other end of the wire into the electrical pins/plug on the air con pump.
doing this will energise the air con pump magnet on the pulley so it should lock in.