add sample to mutex