How to turn Double Tap To Wake And Sleep on all phones with CyanogenMod
Step 1: Go into settings
Step 2: Go to the menu display and lighting
Step 3: Set Double-tap to wake up the screen and turning it on.
Once activated, you can turn on your screen by touching it twice.
Step 4: Right below where you started Double-tap to wake up the phone, you will find the choice of double-tap to make him sleep. Activate and lock the screen by tapping the status bar.
Once these options are activated Double-tap to wake and sleep and also you can lock and unlock the smartphone without using the power button. However, the lock screen is only necessary to touch the status bar, if you tap on the screen then it will hang. But to unlock you can tap anywhere!