Teaching locus with a conserved property by integrating mathematical tools and dynamic geometric software