U.S. District Judge William Orrick issued the preliminary injunction in two lawsuits - one brought by the city of San Francisco, the other by Santa Clara County - against an executive order targeting communities that protect immigrants from deportation.