I\'ve had to create a custom membership provider for my current ASP .Net project in order to fit in with our database schema, and am having problems configuring it to lockout a
Scott Mitchell has written an excellent series of tutorials on the ASP.NET site. This link includes information on creating a custom provider and discusses the locking logic:
http://www.asp.net/LEARN/security/tutorial-06-cs.aspx
There's also no in-built method to unlock accounts (i.e. you have to do this through database tools if you're using something similar to the SqlMembershipProvider). Scott has also written an article about creating a UI to manage this, which you can find here:
http://www.asp.net/LEARN/security/tutorial-14-vb.aspx
I actually recommend reading the whole series. Scott's an excellent communicator.
I hope this helps.