Lock Wait Timout Exceeded: try Restarting Transaction : Error

Hi
I am sending the SMS to 100 People in one time and Inserting the Same in Other Document.

but it’s getting below error

image

Please Help!