If I heat a pathogen(for eg. Bacteria, Viruses) will that heat kills or denature the enzymes present in it(like Autolysin in Bacteria)?

yes if the temperature is high enough it will denature all proteins and thus kill the cell/bacterium. Don't forget viruses are not living organisms they are DNA or RNA that infect and take over cells.