Forgetting your iCloud password should NOT lock up your phone. Anyway, to change your iCloud password, you will need to answer the security questions associated with the account. If you cannot correctly answer the security questions, there is nothing we can do for you.