Keto is very protective of organ health in general, and specifically, reducing the insulin load is protective of the pancreas. That said, weight loss (whether ketogenic or otherwise) is known to sometimes result in transient hyperlipidemia, which is a risk factor for acute pancreatitis. It is my belief that this short-term risk is worth it for the long term benefits associated with weight loss and with the ketogenic diet itself. If this is a concern for you, focusing on more monounsaturated fatty acids and Omega-3s is known to result it improved lipid profiles. Remember as well that keto does not require massive amounts of fat. If you are getting high quality fats, you can get away with fairly low amounts of fat in your diet (remember the fat burned from your own stores counts as fat intake too).