Tired of searching lock button on your mobile phone? Forget about it! As soon as you turn your mobile phone upside down it will lock itself automatically (e.g. putting your device in the pocket of your jeans).
READ_PHONE_STATE permission: not to lock the screen during incoming calls;
VIBRATE permission: new option to vibrate on screen lock;
Requires device administrator rights. Don't forget to disable administrator rights before uninstall (Settings -> Location & security -> Select device administrators -> uncheck AutoLock). Also, please, exclude this app in task killer software (like Advanced Task Killer, etc.)
Provided as is. All suggestions are welcomed. According to PowerTutor the application consumes 3-7 mW in average.
Tags: autolock 2.
Added experimental feature to go sleep instead of lock. Use it on your own risk, since there's no easy way to send the phone into sleep state.