track scope of lock acquisitions and transactions