lock-sample