Lock Account
Locks an account.
Signature: def lock(cinfo)
Parameters:
cinfo['acctid'] - The account to be locked
Return Value:
ACSuccess 0
ACUnknownError 1
ACOperationNotSupported 2
ACInvalidUser 7
Remarks:
If the account is already locked before doing any modifications, the function should return ACSuccess.