As others have said, depends on who made it, so far, the ONLY liner lock I own that i would trust 100% is made by JW SMith, no matter how you grip it, it stays put, this because, first, the geometry is dead on, sounds easy, but in reality, many makers, even highly regarded ones, dont always get it right, second, JWS gives the liner lock bar a VERY strong bend to the right. this makes it very secure, I generally dont like a liner or framelock that has a bar with a relatively weak bend. I have heard makers say they dont give the lock too strong a bend because the lock will stick, or get stuck, and yet, JWS has as strong a bend as you'll find, with literally zero sticking, other makers would do well to study his techniques, and angles I think.
As others said, framelocks generally dont suffer from inadvertant disengagement, and I have several I trust completely, a Strider SnG, a Sebenza, all of my TnT's, a Tighe, and others.