如何查询TiDB的锁阻塞情况?

参考下面的文档即可:

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#使用-lock-view-排查锁相关的问题