add mutex for each block state