To protect state residents by prohibiting public and school libraries from censoring books and providing librarians and other library staff members with legal protections, including immunity from criminal and civil liability, for carrying out work-related duties in accordance with state law.