Any app which uses the proximity sensor to turn the screen off would work, however this would also mean it would happen whenever the sensor is covered.
Also just found this in the same section...
Have a look/search first, usually you'll find what you're looking for
Sent from my HTC Sensation using XDA-Premium.
• S-OFF, Rooted and SuperCID
• Android 4.3 [CM10.2]