BUTLER COUNTY, Kan. -

Lt. Travis Pierce's policing philosophy is simple; do unto others as you'd have them do unto you. That's exactly what he said he did last week when he got a call about a toddler wandering near a busy street.

"A couple found him and they were upset, and just a few seconds after we got there his mom arrived and she was distraught," Pierce said.

Pierce said the mom told officers her son had a habit of unlocking doors and running out whenever he got the the chance.

"I'm a new dad and sometimes it's not bad parenting, this kid was fascinated with going outside and it was hard for his mom to keep up," Pierce said.

Pierce said putting the child into protective custody would hurt the situation rather than help, so he went with the little boy's grandma to Wal-Mart instead.

"She bought some extra locks and I advised her on the best type of security for a curious kid that age," Pierce said.

Pierce's help didn't end there. The grandmother and mom didn't know how to install the locks so Pierce went home and grabbed a drill and some tools. They installed the locks at the top of the door, out of the little boy's reach.

"I didn't think I'd be installing locks as a part of the job but we do a lot everyday to help people so this wasn't really out of my realm," Pierce said.

El Dorado Police shared the story on their Facebook page and the post has nearly 1,000 "likes."

"I've been blown away by the support. We do this everyday, help people that need a little help. The praise makes me feel good but any officer would have done what I did," Pierce said.