Modify methods connected to removed field IsLockedOut

The field IsLockedOut in the entity OrigamUser and a connected trigger were removed in this commit. However connected to this field is a function AS:IsUserLockedOut and also a method IdentityService.IsLockedOut.

They should be modified to correspond with the value of the field LastLockoutDate that now indicates if a user is locked out. Otherwise it won’t be possible to e.g. use the UI actions for unlocking locked users (if not set to automatic unlocking after a certain amount of time) or any model using them would have to be adjusted.