A lone gunman killed three people in Pennsylvania, authorities said Saturday, before he barricaded himself inside a house.