It is a metaphor meaning to keep a child on a path that does not include crime.
She kept a foot on my throat in order to make sure I followed the correct choices in life.