# Locking For Parent Child Case

**URL:** <https://forums.pega.com/t/locking-for-parent-child-case/5759>\
**Category:** General\
**Tags:** dev-designer-studio, 8-8-3, security, pega-platform, system-architect, case-management\
**Created:** [January 9, 2024, 1:22pm UTC](https://forums.pega.com/t/locking-for-parent-child-case/5759 "2024-01-09T13:22:05Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![AbhishekC1725](https://avatars.discourse-cdn.com/v4/letter/a/9d8465/32.png) [@AbhishekC1725](https://forums.pega.com/u/AbhishekC1725)\
**Post date:** [January 9, 2024, 1:22pm UTC](https://forums.pega.com/t/locking-for-parent-child-case/5759/1 "2024-01-09T13:22:05Z")

</div>

Hi All,

I have some scenarios :

Scenario1 :- When operator is working on Child case, Lock should be acquired on Parent case. How to configure this in Pega Dev studio? So no operator can work on Parent case.

Scenario2:- When operator is working on Parent case, Lock should be acquired on all Child cases of Parent. How to configure this in Pega Dev studio? So that no operator can work on any child case.

---

<div class="post-metadata">

**Author:** ![RameshSangili](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/rameshsangili/32/23377_2.png) [@RameshSangili](https://forums.pega.com/u/RameshSangili)\
**Post date:** [January 9, 2024, 3:03pm UTC](https://forums.pega.com/t/locking-for-parent-child-case/5759/2 "2024-01-09T15:03:21Z")

</div>

@AbhishekC1725

Scenario 1- Please uncheck this option to lock the parent when the child acquired the lock (Attached screenshot).

 ![Locking.png](https://pega1.discourse-cdn.com/pega/original/2X/4/4bc94cd59e527161e426b486802e95acdda86273.png)

---

<div class="post-metadata">

**Author:** ![Bhumireddy](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/bhumireddy/32/23248_2.png) [@Bhumireddy](https://forums.pega.com/u/Bhumireddy)\
**Post date:** [January 9, 2024, 3:12pm UTC](https://forums.pega.com/t/locking-for-parent-child-case/5759/3 "2024-01-09T15:12:07Z")

</div>

Hi @AbhishekC1725

Could you please go through below article, those are very clear and nice articles.

> **[Pega Lock mechanism](https://forums.pega.com/discussion/pega-lock-mechanism)**
>
> ​Hi, In this post, I will share how Pega object locking works. If you find any information incorrect please let me know so I can revise it. First of all, Pega uses both database level lock and Pega level lock. Database level lock is shorter...

> **[Lock mechanism with case hierarchy](https://forums.pega.com/discussion/lock-mechanism-case-hierarchy)**
>
> Hi, In this post, I will explain how Pega lock mechanism works with case hierarchy. For lock mechanism basics, please see https://support.pega.com/discussion/pega-lock-mechanism. Inheritance of locking strategy Child case type inherits the...

> **[Parallel processing | Pega Academy](https://academy.pega.com/module/parallel-processing/v3)**

**Thanks,**

**Ashok**

---

<div class="post-metadata">

**Author:** ![AbhishekC1725](https://avatars.discourse-cdn.com/v4/letter/a/9d8465/32.png) [@AbhishekC1725](https://forums.pega.com/u/AbhishekC1725)\
**Post date:** [January 9, 2024, 10:40pm UTC](https://forums.pega.com/t/locking-for-parent-child-case/5759/4 "2024-01-09T22:40:05Z")

</div>

@sangr2 Thanks , this setting we will do in child case type?

---

<div class="post-metadata">

**Author:** ![AbhishekC1725](https://avatars.discourse-cdn.com/v4/letter/a/9d8465/32.png) [@AbhishekC1725](https://forums.pega.com/u/AbhishekC1725)\
**Post date:** [January 9, 2024, 10:40pm UTC](https://forums.pega.com/t/locking-for-parent-child-case/5759/5 "2024-01-09T22:40:36Z")

</div>

@Bhumireddy thanks will check these links

---

<div class="post-metadata">

**Author:** ![RameshSangili](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/rameshsangili/32/23377_2.png) [@RameshSangili](https://forums.pega.com/u/RameshSangili)\
**Post date:** [January 10, 2024, 2:30pm UTC](https://forums.pega.com/t/locking-for-parent-child-case/5759/6 "2024-01-10T14:30:50Z")

</div>

@AbhishekC1725

That’s correct and this configuration is available ONLY when you select default locking (only one user can access the case).

Hope this helps!

---

<div class="post-metadata">

**Author:** ![AbhishekC1725](https://avatars.discourse-cdn.com/v4/letter/a/9d8465/32.png) [@AbhishekC1725](https://forums.pega.com/u/AbhishekC1725)\
**Post date:** [January 13, 2024, 2:09pm UTC](https://forums.pega.com/t/locking-for-parent-child-case/5759/7 "2024-01-13T14:09:29Z")

</div>

@sangr2 Thanks for response. 😊
