A federal judge blocked a Louisiana law that makes it a crime to be within 25 feet of a police officer after being ordered to step back.