Hi all,
I'm trying to run an update cursor on a series of feature classes.
Each class has its own cursor, with different things going on in it.
Each one works fine, except the last feature class.
This feature class will work correctly maybe 2/9 times, otherwise giving the following error.

RuntimeError: Cannot acquire a lock
Sometimes it'll work again if I run it a second time, or if I reopen the project, but neither of these is consistent.
Code sample below:
with arcpy.da.UpdateCursor(tmkFC, ['tmk_txt', 'Docs']) as cursor:
for row in cursor:
if row[0] in tmkDict:
row[1] = "<br>".join(tmkDict[row[0]])
else:
row[1] = None
cursor.updateRow(row)
- It is on a network drive, in the same file gdb as the other feature classes
- No one else is accessing the feature class right now.
- It occurs regardless of if it is the only thing getting updated, or if the other feature classes are also getting updated.
- Meaning I commented everything else out and this still occurs.
- This is the only feature class that has issues.
- I am not in an edit session, nor have any other edits been made prior to calling this cursor.
- Someone else had a similar problem here, but there wasn't really any resolution for it.
Does anyone have any ideas as to why this may be happening?
Edit: Found the error page, is not helpful in this case.: 160706: Cannot acquire a lock.—ArcGIS Pro | Documentation
Also, 7) this feature class has significantly more records than the others.