You can unlock or hack your phone's lock code through specific apps like Android Device Manager or Android SDK. If you still can't open the phone even after trying these apps, it's time to restart your phone with a factory reset.