You can turn off a line if you have capacity elsewhere. The problem is that as the current increases in a line the temperature of the line increases. This causes thermal expansion and if not well managed, a line can sag too low and have to be turned off. This was one of the causes of the 2003 northeast blackout.
The other option is to have local generation that can supply local load but that is still quite hard to do with renewables.
You could add more generators over an area to make grid more self sustaining but many people don't want power plants in their backyard and it is costly as you are paying for generating capacity that you don't use(often)