Click to unlock is a modification that will allow you unlock your iPhone using any two finger gesture.
It is designed to work pinching the screen but, as you can see in the video, it works with any two-finger gesture. If you like this way of unlocking the screen, you also have a similar modification in Cydia that allows you to unlock by sliding a single finger on the screen, it is called Move2Unlock. If you want to use two fingers to avoid being unlocked by mistake, Pinch to unlock is your tweak.
You can download it free on Cydia, you will find it in the ModMyi repo. You need to have done the jailbreak on your device.
More information - SwipeAway: Swipe your finger to close all applications (Cydia)