Notes error: Document locking is enabled. You must lock the document

When our schedule agent run we get such error in log.

Error: Notes error: Document locking is enabled. You must lock the document

before deleting.

Error code: 4000

Error line: 100

Yes our db has option locking enabled, so I tried to find what is wrong and found such article, it looked very similar to our problem.

http://www-01.ibm.com/support/docview.wss?uid=swg21289634

But in our case person who sign agent has right to delete documents.

But when we sign agent by administrator it start to work properly.

so my question - which another settings should be enabled or where we did mistake?

Subject: …

In order to unlock a document you need to be manager of the database. Maybe you could try changing the ACL for the user that cannot run the agent in the first place?