Most likely you have another open uncommitted transaction for the same set of records, so they are locked for that transaction.
And, most likely, you locked them, running the same UPDATE
in another transaction.
Just Commit/rollback your transactions, you should be fine.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…