> Functional stereotactic neurosurgery for psychiatric and neurodegenerative disorders is actively practiced.
Lobotomy is the removal of most or all of the prefrontal cortex. That its descendant is now called "functional neurosurgery" does tell you how disparaged and discredited lobotomy is.
It's not unlike nuclear medicine though, there was an early hype phase where it was applied too often[0], too much and without enough precision. The underpinnings remain in active use but at a very different level of activity, and with much more precise targeting.
[0] the US performed 20000 lobotomies during the 40s, mostly on women.