There is no need to say about securing your phone from unauthorized access. To stop your personal data falling into the wrong hands, you need to secure your phone using any security feature available with your phone. PIN, Pattern and Password are Android’s default security feature, but unlocking using these are a tedious process. LG’s Knock Code enables you to unlock the phone conveniently with a simple onscreen knock pattern. It is the perfect combination of convenience and security. Now it is possible to replicate this on your non-LG device. In order to use Knock Code on your non-LG device, you need to be rooted phone running on Android 4.2 and later and have the Xposed Framework installed. Read this article to know how to install and set up Xposed Framework on your phone. Knock Code Installation Guide:

  1. Download and install ‘Knock Code’ module APK from here. Alternatively, run Xposed app on your phone, tap ‘Download’ option, search for ‘Knock Code’ and download it. The module will automatically install. You should then activate it.
  2. Open app drawer and run the Knock Code app. Use the ‘Change knock code’ option to set your knock code. Please note that, first you need to set the stock Android 3×3-grid pattern lock in settings, after that, set a knock code pattern in the app. Then, turn your screen off then back on to test it out Note: Without a custom kernel, you cannot use this with the screen off as in LG phone (source).