Thanks folks for all your responses. To be honest, I'm trying to cheat a bit here because the map I am playing has 5 phaselanes from my home star to local planets/asteroids and I can't defend all those connections and put together a fleet capable of attacking the remaining planets in the system.
So, I thought if I could temporarily remove the stellar phaselanes so no more bad guys would come through the back door, I could redeploy those defensive ships into the battle for the remaining planets.
Dreyfuss, your idea seems like a good way to achieve this, I'll give it a try.