I am also having problems with my little guy

he hates being in a pen and also hates his crate. I try to put him in the crate and pen when I am at home and he does fairly well but I have returned on several occasions to be met with barking when I exit the elevator

I'm really worried that my neighbors are going to start getting mad at me