I know grapple got reworked to be more balanced not long ago, but it still is very powerful and if they manage to get the lock on you, chances are you won't be able to get away most likely.
I can think of only one way, to circumvent the lock, once you've tried and failed to break free but I never tested it.
This would be a paid counter, to get a chance to escape the lock and not be re-grappled for a short period of time.
So the basic idea is to make a new self defense cyberware piece that helps you break free. The idea is not to become impervious to grapple forever, but to boost your chances to break free and get away from the fight.
My ideas were: 1. Spikes pop out from your chest. Damages the assailant and forces him to let you go, can't be grappled for a few rounds or attacker can grapple you. Then it gets discharged, gets a cool down. Sort of like a Flashboost?
2. Electrocutes the assailant and stuns them for a few rounds. Then it gets discharged, gets a cool down.
3. Get covered in an greasy substance that makes it easier to squeeze free, more dex focus than str focus. Discharge, cool down, all that jazz.
Anyway, that's the basic premise. Feel free to critic and suggest alternatives.