Apple has the Digital Millennium Copyright Act with various exemptions, including a few lines that effectively legalize jailbreaking and unlocking cell phones. Apple responded by reminding users that jailbreaking an iPhone voids its warranty.