the crate is something that you should let your dog get used to slowly dont just put him in and lock the door, put lots of treats in the crate so he associates the crate as a positive thing. the crate is somewere they want to feel safe and secure.as others have mentioned just ignore any unwanted behaviour. hope all goes well.