A federal judge on Wednesday temporarily blocked a California law that would have banned carrying firearms in most public places, ruling that it violates the Second Amendment of the U.S. Constitution and deprives people of their ability to defend themselves and their loved ones.