call mutex_lock after init