• If you query sys.dm_tran_locks you'll see an IX lock taken on the test_tran table.

    If you run in the second window SELECT col1 FROM test_tran WHERE col1 = 1 (or 2) the query will work.