I used this code but I don't know how to enable login after 3 hours or 1 day.This code checked only the number of login attempt and locked after 3 times attempt.
1.Code in page(.aspx):
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<title></title>
</head>
Go to the complete details ...