Akarma is a Sanskrit term often translated as inaction, but in the Gita it carries a subtler meaning: action that does not bind. It describes work done in such a way that it leaves no knot behind, because it is free from craving, ego and anxiety. This is a different idea from simply doing nothing, which the Gita explicitly says is not freedom.
Gita 4.16 and 4.17 say that the nature of action, wrong action and non-binding action is subtle and must be properly understood, so avoid judging actions superficially and consider intention and consequences. Gita 4.18 says the wise see inaction in action and action in inaction, understanding the deeper reality beyond external appearances, so do not judge progress only by outward activity. Gita 3.4 says freedom is not won by merely abstaining from action, and Gita 3.8 says action is better than idleness.
The Gita also shows how work stops binding. Gita 5.8 and 5.9 describe the enlightened person who sees the Self as a witness and understands that the senses function among their objects, so observe your actions objectively and do not tie your worth to every success or failure. Gita 13.30 says the wise see that all actions are carried out by nature, so perform your duties wholeheartedly while releasing the pride of authorship and the guilt of outcomes. Gita 3.5 and 18.49 add that action cannot be avoided and that detachment frees it.