I have an asp.net web site with oauth2 authentification. I need to manually lock/unlock users permanently but I can't find standart method in ApplicationUser. The closest thing I could have done is setting LockoutEndDateUtc like this
user.LockoutEndDateUtc = DateTime.Now.AddYears(100);
But this is kinda gimmicky. Is there standard way of doing this? Am I getting something wrong. If I can manipulate these things from outside why isn't there just Lock/Unlock method or IsLocked property?