To be in a trap in a dream signifies that we feel we are trapped by outside circumstances.

To be aware of trapping something or someone is attempting to hold on to them.

To be trapping a butterfly is to be trying to capture the inner self.