Paty had discussed caricatures of Islam’s Prophet Muhammad with his class, leading to threats and a complaint from a parent, police officials said. Islam prohibits images of the prophet, asserting that they lead to idolatry. The officials could not be named because they were not authorized to discuss ongoing investigations.