If you choose to use the official software, the process is straightforward: Plug your locked Android device into your PC.
Most "cracked" executables contain hidden Trojans or keyloggers. Since the software requires administrative permissions to interact with your phone, you are essentially giving a virus "the keys to the house."
Follow the on-screen prompts to put your phone into Recovery Mode.