pervert
/pər-ˈvərt/
verb
noun
one that has been perverted; specifically : one given to some form of sexual perversion
idiom
to try to stop the police from learning the facts about a criminal case
She was convicted of perverting justice for lying to the police.