lib: rename - lockBuffer => lockQueue