There are typically two ways to lock your iPhone when you’re finished using it: 1) press the sleep button; or 2) wait for the lockout timer time out. But with a new free jailbreak tweak called DownLocker by iOS developer Soh Satoh, you can add a third and practical method to that list.
DownLocker utilizes your iPhone’s accelerometer system to discern the handset’s orientation in space, and when it senses that your handset is lying face-down, it locks the device. This works with virtually any flat surface, whether that object is opaque or transparent, which is an apparent advantage over similar tweaks that would use the handset’s proximity sensor instead.