Boss: what an INSERT locks
A write locks the table and every index it must change, each in RowExclusiveLock mode.
task
In one statement insert a row into lab.t and list relname and mode of this backend's relation locks on lab.t and its primary key index, ordered by relname.