A federal judge has temporarily blocked an Iowa law banning some books from school libraries and forbidding teachers from discussing LGBTQ+ issues.