A Lompoc man is behind bars after detectives say they found 180 grams of heroin at his home during a compliance check.