A federal judge in California on Monday temporarily blocked the state from enforcing its ban on most law enforcement officers from wearing masks during operations.