A man was arrested Saturday after threatening people with a gun at a home in Lancaster County, the sheriff's office says.