DDL takes the strongest lock
ALTER TABLE ... ADD COLUMN holds AccessExclusiveLock until commit, so nothing else can touch the table.
task
In one transaction add column z to lab.t and copy the modes of this backend's locks on lab.t into table lab.seen. Then show lab.seen.