# Settlement Pledge Allocation - Does not lock Holding

**URL:** <https://forum.canton.network/t/settlement-pledge-allocation-does-not-lock-holding/6087>\
**Category:** App Development\
**Tags:** daml-finance\
**Created:** [February 8, 2023, 10:21am UTC](https://forum.canton.network/t/settlement-pledge-allocation-does-not-lock-holding/6087 "2023-02-08T10:21:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jvelasco.intellecteu](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/jvelasco.intellecteu/32/7305_2.png) [@jvelasco.intellecteu](https://forum.canton.network/u/jvelasco.intellecteu)\
**Post date:** [February 8, 2023, 10:21am UTC](https://forum.canton.network/t/settlement-pledge-allocation-does-not-lock-holding/6087/1 "2023-02-08T10:21:44Z")

</div>

Hi,

I was wondering why not the `Instruction` implementation locks the holding pledged.  
To me it would make sense to commit the holding to the flow by locking it.

Thanks!  
Jose

---

<div class="post-metadata">

**Author:** ![Johan\_Sjodin](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/johan_sjodin/32/2822_2.png) [@Johan\_Sjodin](https://forum.canton.network/u/Johan_Sjodin)\
**Post date:** [February 9, 2023, 9:28am UTC](https://forum.canton.network/t/settlement-pledge-allocation-does-not-lock-holding/6087/2 "2023-02-09T09:28:27Z")

</div>

Hi @jvelasco.intellecteu ,

I agree that making use of locking would be beneficial. This would prevent accidental usage of an already allocated holding (in another workflow).

However, it could be argued that what’s truly needed is not “locking,” but rather a method of “earmarking” the holding as already allocated. The sender still has the ability to reallocate or cancel the allocation, effectively unlocking the holding. An alternative approach for “earmarking” the holding could be to use a specific account for settlement purposes, where the sender transfers the holding to the account before allocating it.

I have created an issue here [Consider adding locking to the instruction · Issue #592 · digital-asset/daml-finance · GitHub](https://github.com/digital-asset/daml-finance/issues/592) to track this.

Hope that helps!

Johan
