Prions are proteins and need to be denatured to be rendered harmless. Cooking is generally not enough to achieve this. See WHO guidelines for prion sterilization as mentioned in the Wikipedia article https://en.wikipedia.org/wiki/Prion#Sterilization.