Have you tried manually locking the record before updating it?
Herebelow is the code manually lock a record [ code generated by Bing Chat GPT-4. Regular warnings apply ]
****************************************
To manually lock a record in SQL Server, you can use the WITH clause with the XLOCK and ROWLOCK hints to lock and update a specific record 1. Here is an example of how to lock a row:
BEGIN TRANSACTION;
SELECT * FROM table_name WITH (XLOCK, ROWLOCK) WHERE record_id = 123;
To unlock the record, you can use the COMMIT TRANSACTION command 2. Here is an example of how to unlock a row:
COMMIT TRANSACTION;
I hope this helps! Let me know if you have any other questions.
*******************************************
If not tried, can try this one.
Happiness Always
BKR Sivaprakash