A federal judge on Friday temporarily blocked police and prosecutors from enforcing a new state law that makes it a crime for immigrants to come into Florida after they enter the country illegally.