Fix bug in lockAccounts

Sorry about this guys, but it seems that before this the init function
was only being given 1 argument to process, meaning that you could only
lock 1 account at a time.