This project senses touch, and on successful detection of touch, asks for a 4 digit pin code.  Pincode is accepted by 4 push buttons. Each button representing one digit (here 1,2,3,4). The touch sensor needs to be touched while entering pincode.

Watch the project in action - 

https://youtu.be/43jLkJWHp1I