The ball in a liner lock is the detent for the blade. It's a tiny ball bearing that fits into a small hole in the lock, and when the blade is closed it snaps into a little divot or hole in the tang of the blade and holds the blade in the closed position, using the springiness of the lock to hold it in place. As far as the lock bending inward, when you bend a piece of metal beyond a certain point, it takes a "set" and wants to stay in that position and will continue to spring back to this position when flexed unless it is bent back the other way far enough to straighten it back out. With a liner lock the lock bar is bent inward and the handle scale on the lock side prevents it from being overextended in the other direction, so the lock bar will continue to favor an inward movement, thus snapping into place behind the blade tang whenever the blade is open.