The law of karma is inevitable. But there are many ways by which we can escape from the chain of the law of causation and Karma Yoga is one of those ways.
That which is nearest is least observed. The Atman is the nearest of the near, therefore a careless and unsteady mind gets no clue to the Atman. But one who is alert, calm, self-restrained, and discriminating, ignores the external world and, diving more and more into the inner world, realizes the glory of the Atman and becomes great.
-Swami Vivekananda