Set the acquisition range (range the unit acquires the target) of ur locusted unit to 0 that way he wouldnt acquire the targets an will only follow he unit its in
A timer would really work the best here, that way it wouldn't mess with the player controlled units. Just make sure to fix all the leaks other wise it would get laggy.