How to lock account number after give three times wrong password.

pls send me With Example.