accounts: update Locked/AccountType state if user set it

tower: https://tower.im/projects/8f19f0bf0e754f0b82ef2c24bc230973/todos/1cd35fe6816d4892b5f5ac6bdbdb4332/
Change-Id: Ice6ddf9a7f55fd08d713abb502ec093bc90efe14