When Pocket Mode is on, the application works as follows:
When the device is locked, the proximity sensor is active and turns the display off when it detects proximity and back on when it is no longer present.
(You can easily turn off the notification via the Settings button)
Note: This app uses the Android AccessibilityService API to automatically turn off the screen when the device is in your pocket and locked. This is solely to prevent accidental touches and save battery life