Use locking primitives for a more concise workflow