有文档的,照着文档看就可以了,不过这个锁应该被释放掉了吧,还得模拟下才能看到
https://docs.pingcap.com/zh/tidb/stable/information-schema-tidb-trx#tidb_trx
https://docs.pingcap.com/zh/tidb/stable/information-schema-data-lock-waits#data_lock_waits
https://docs.pingcap.com/zh/tidb/stable/troubleshoot-lock-conflicts#事务被长时间阻塞