1. A computerized-method for protecting software of a computing device, the method comprising: encrypting a hypertext preprocessor (PHP) software program of the computing device using an encryption rule to obtain an encrypted file; generating a decryption rule corresponding to the encryption rule to decrypt the encrypted file; storing the decryption rule corresponding to the encryption rule to a storage system of the computing device; determining whether a predetermined hardware lock is connected to the computing device when the encrypted file is decrypted; displaying a prompt that indicates the predetermined hardware lock is not connected to the computing device when the predetermined hardware lock is not connected to the computing device; searching the decryption rule corresponding to the encryption rule from the storage system when the predetermined hardware lock is connected to the computing device; and decrypting the encrypted file with the decryption rule corresponding to the encryption rule; wherein the encrypted file comprises the encrypted PHP software program, a hardware identification number of the predetermined hardware lock, and a software identification code of the PHP software program.