LUCENE-4013: make getAndLock pkg-private, as DW is pkg-private so its effectively already pkg-private, but without broken javadocs links