Set a write lock for the multi cache writer