Two given life term for killing man for opposing obscene acts