Samples locking / unlocking