If you have ever dialed someone accidentally when you were trying to put your phone into your pocket, you know how embarrassing that can be. An app called Pocket Lock can help you be sure that you never butt dial anyone again. Pocket Lock is an intelligent lock and unlock application.
One of the things it can do is lock your phone automatically when you put it into your pocket. The app will keep your phone locked until you pull it out of your pocket when it can unlock your device automatically.
Pocket Lock has been updated recently and the update adds back in the ability to start the app on boot, which was accidentally removed in a previous update. Gravity and proximity sensors are used by the app for the automatic locking and unlocking action.
The app is disabled during phone calls and can be disabled when the screen is rotated. The app measures 317KB and has been installed 10,000-50,000 times according to Google Play. Pocket Lock is free with no ads and is on version 1.4.2, Android 4.0 or higher is required for the app to function.
SOURCE: Google Play
This is currently a feature we can find on custom ROMs like Mahdi and CM11S… but I doesn’t work there, so thanks for sharing !