In Hindu scritures we are allowed to tell lie in some cases.
In a situation of peril to life and in marriage, falsehood becomes utterable. In a situation involving the loss of one’s entire property, falsehood becomes utterable. On an occasion of marriage, or of enjoying a woman, or when life is in danger, or when one’s entire property is about to be taken away, or for the sake of a Brahmana, falsehood may be uttered. These five kinds of falsehood have been declared to be sinless. On these occasions falsehood would become truth and truth would become falsehood.”
So what if we lied to save ourselves from the punishment of crime that we done?