Karma is not just a straightforward task, where everyone tries to justify a reason of who's responsible for what.
KARMA is from your lekha, which in turns molds and shapes your destiny.
However, this destiny is ONLY applicable if you maintain at the SAME current state of consciousness.
If you develop and evolve your soul/consciousness towards the higher states, then you, yourself change your own destiny !
For eg.. Kauda raksh, if he carried on and refused to realise God or refused to let his soul evolve higher, then his actions and pas karmic imprints would have led him to the appropriate lower destination of destiny. HOWEVER, he made the effort to listen, learn and realise, that made him ask for forgiveness
Thus, he was freed from all his destined bounds and shackles, and became ONE with supreme God conscious.
In short, your own destiny will hold strong according to your karmic actions/imprints/influences at any given state of TIME !
But, you can move out of this destined graph line, if you LEARN to evolve.
This is the REAL Learning of what SIKH actually means !!
You have to try and understand the differences between karma,destiny, lekha and free-will.
ALL of these come under the bigger umbrella of HUKAM.
One can ONLY be in complete HUKAM when one learns to come out of theses shackles and weights of destiny and karma.
Gurbani tells you how to free yourself from these starting with naam simran.