lock sample