I wouldn't suggest forcing a pup into any confined spaces without a proper introduction, else you'd be risking the behaviours you've described.
If you're using your carrier for the purposes of transportation or other uses, I also wouldn't use it as punishment or for 'time outs' (for now anyway). By doing so, you'd be creating negative associations for the pup with the carrier.
There are many ways to properly introduce a pup to a crate/carrier (would be the same for either crate or a carrier. Here's one article with some listed steps:
Introducing Dog To Crate - Dogtime
When done properly, you can actually train your pup to jump into the carrier on command and they'll actually like it
After a proper introduction, I'd suggest to keep one or two favourite toys reserved for the pup to play with
only in that carrier. When things are fun, pups are happy