ensure_lock_account
Retrieves the lock account given an account and the lock type. Creates the account if it does not exist.
Can only be called from an operation.
Parameters
type
the type of lock account
account
the account with which the lock account is associated
See also
ACCOUNT_TYPE_LOCK
for more information on lock accounts