1026 was already taken by ErrorCodeUsernameReserved, which is older, so a locked account was reported as a reserved username in clients. BREAKING CHANGE: a locked account now returns 1040 instead of 1026.