This is the book that came to mind but I don't remember the details of the book very well:
https://www.amazon.com/Alchemyst-Secrets-Immortal-Nicholas-Flamel/dp/0385736002/ref=sr_1_2?dchild=1&keywords=flammel&qid=1596561029&s=books&sr=1-2