A police officer in El Dorado, Kansas is being praised for going above and beyond the call of duty to help a family with an incident involving a toddler.

Lt. Travis Pierce reportedly got a call that a toddler had escaped from his home and was walking along a busy road. The boy’s mother arrived right after Pierce got there and was overwhelmed by what had happened.

"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. “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.”

The toddler’s mother says that her young son had a habit of unlocking doors and running outside, so she was distraught when she realized he had run near a busy road. Pierce knew that calling Child Protective Services would do no good in this situation, so instead he took the toddler’s grandmother to Wal-Mart to buy locks for the doors.

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

video platformvideo managementvideo solutionsvideo player

In addition to helping them buy locks, Pierce also assisted the toddler’s mother and grandmother with installing them. The kind officer went back to his house, grabbed his tools, and installed the locks around the family’s house.

"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.

Since the El Dorado Police Department shared the touching story on their Facebook page, almost 1,000 people have liked it, and Pierce is being praised for his good deed. Pierce doesn’t think he did anything that any other police officer wouldn’t do and says he is just happy that the story has a “happy ending.”

Sources: KWCH, KAKE, Fox 2 Now