Monitor Locks and Deadlocks

Use the sp_iqlocks stored procedure to display details about row-locks, write-intent locks, and deadlocks in the database.

Related reference
sp_iqlocks Procedure