set error to the field specified in unlock_keys config

closes #2418
Merge pull request #2419 from plataformatec/issue-2418

set error to the field specified in unlock_keys config