First off, don't give him attention when he is trying to get you to let him in. Instead when he gets bored and goes off to explore, then you come outside and give him praise. It teaches him that when he stops barking and jumping at the door that he gets attention that way.