Processing of IDOC fails when any user is accessing the purchase order. How to lock are release the lock diuring IDOC processing.