It's obviously not only lock downs that have caused this, but they certainly added to it. My close friend had his marriage explode and turn horribly nasty. She took the kids and he ended up alone in a studio apartment for months, and then killed himself. His marriage was obviously not great before but they were making it work. Being stuck in the house together all the time was too much.
I'm guessing data on suicides due to lockdowns is as problematic as deaths due to covid because these are typically complex equations, but it would be interesting to see a study. In my small non-representative case study, suicides are up >200% from average. It's normally 1 every other year or so, except 2018 when there were 2 :'(