Is there a query I can run in SSMS to see if the current session I am in has a lock. Like if a BEGIN TRAN statement was run and never resolved, is there a query that would show that? And again, specifically whether the tab/session I'm currently typing in is the one with the lock?