Codelock - Version 2.0 Codelock is a PHP and HTML code Encryptor for protecting your source code from thieves. You can encrypt your PHP scripts before distribution to make it unreadable by humans. Codelock allows you to limit your scripts to IP addresses, password protect your scripts and set an optional expiry time. Codelock is an easy to use, full-featured software encryption solution for PHP and HTML scripts.