I agree with Middle. Environmental overload, he is just over stimulated. Just keep at it and don't give up. Take him everywhere with you, walks, parks, stores- and give lots of positive reinforcement (like really good treats). If he is barking or lunging, take smaller baby steps and work outside his threshold. I wouldn't ask for obedience in new settings either, I would just let him experience and take in his surroundings and learn what the outside world is about.