Locks initialized in openmp mode