Updated the error on lock.