The theme of freedom and confinement is closely tied to economic security in Death of a Salesman. Linda and Willy long to escape both the physical confinement of their home and the economic confinement of their limited income, home mortgage, and bills. They idolize faraway lands such as Alaska and Africa as places of literal and figurative escape. Similarly, Biff finds New York to utterly confine him and can only imagine happiness and freedom working with his hands in the wide open West. Ultimately, the play seems to paint America's incredibly competitive version of capitalism as a thing that traps its citizens. This depiction is pretty ironic since America is supposed to be "the land of the free" – a place where if you work hard you're free to make your dreams come true.
Willy perceives his suicide as a means of achieving freedom and escape.
While he knows his own suicide renders his own escape impossible, Willy hopes it will achieve freedom for his son Biff.