Brooks Hocog, a Google spokesman, said the company had restored access to the affected accounts. He said an automated security system “disabled the accounts due to the bulk creation of multiple consumer Gmail accounts from the same network.” A Google system detects when a large number of accounts is being created in one place and steps in because they might be used to send spam or commit fraud.