locks work in parallel