Rename duplicately named function batch__lock(int).