# Resource locked

**URL:** <https://forum.inductiveautomation.com/t/resource-locked/20177>\
**Category:** General Discussion\
**Created:** [October 16, 2018, 11:07am UTC](https://forum.inductiveautomation.com/t/resource-locked/20177 "2018-10-16T11:07:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![winbetho](https://avatars.discourse-cdn.com/v4/letter/w/ac91a4/32.png) [@winbetho](https://forum.inductiveautomation.com/u/winbetho)\
**Post date:** [October 16, 2018, 11:07am UTC](https://forum.inductiveautomation.com/t/resource-locked/20177/1 "2018-10-16T11:07:09Z")

</div>

Recently my company restarted my PC while my project was up and running. Now when i tried to open a window the designer put up a message saying 'Unable to retrieve edit lock for resource xxxxx Another designer, located (xxx.xxx.xxx.xxx) has this resource locked for editing.

But this is the same PC and user! Why can’t i brake this lock?

---

<div class="post-metadata">

**Author:** ![ryanjmclaughlin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ryanjmclaughlin/32/4318_2.png) [@ryanjmclaughlin](https://forum.inductiveautomation.com/u/ryanjmclaughlin)\
**Post date:** [October 16, 2018, 12:25pm UTC](https://forum.inductiveautomation.com/t/resource-locked/20177/2 "2018-10-16T12:25:39Z")

</div>

You should be able to terminate the session from the gateway. The lock should go away on its own after a few hours and the gateway cleans up the orphaned lock.

---

<div class="post-metadata">

**Author:** ![StefanGronberg](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/stefangronberg/32/6288_2.png) [@StefanGronberg](https://forum.inductiveautomation.com/u/StefanGronberg)\
**Post date:** [October 17, 2018, 5:20am UTC](https://forum.inductiveautomation.com/t/resource-locked/20177/3 "2018-10-17T05:20:08Z")

</div>

I had this happen to me a few times yesterday after i had to kill the designer.  
Just need to wait a few minutes and the lock is released.

---

<div class="post-metadata">

**Author:** ![winbetho](https://avatars.discourse-cdn.com/v4/letter/w/ac91a4/32.png) [@winbetho](https://forum.inductiveautomation.com/u/winbetho)\
**Post date:** [October 17, 2018, 5:56am UTC](https://forum.inductiveautomation.com/t/resource-locked/20177/4 "2018-10-17T05:56:51Z")

</div>

Worked for me to 🙂
