This isn't usually the type of skill you want inmates working on while they're in jail...

A couple locked their keys in their SUV outside a courthouse in New Port Richey, Florida last Thursday, near Tampa, and their one-year-old daughter was inside.

There were a bunch of cops around. And they could have broken a window if they'd really needed to. So she was never in any real danger.

But apparently none of the cops had a slim jim to get the doors open. Or they couldn't reach the automatic door-lock button with one.

But five prison inmates were on work release nearby, fixing a median in the road, and one of them just happened to have some experience breaking into cars.

Another person in the parking lot had a coat hanger in their car, and the inmates were able to use it to get the doors open while the cops stood there and supervised. So yes, he got permission first.

In the end, the little girl was only locked inside for about five minutes, and her mom got the whole thing on video.

Read more at WZVN.