An Asian elephant wandered into a residential compound in Mengla County, Yunnan Province, after nudging open an iron gate.