MB-9083: No need to export the getLocked function

Change-Id: I70bb70e210a3bfb6a770082fbd5b0b48a29fa382
Reviewed-on: http://review.couchbase.org/28861
Reviewed-by: Chiyoung Seo <chiyoung.seo@gmail.com>
Tested-by: Chiyoung Seo <chiyoung.seo@gmail.com>