Make Buffer lock private