Typically that's part of belonging to a community.
Are you morally free to kill your guards if you are in prison through a failure of the judicial system? I don't think you are.
How about if you are in a death camp, where your government has not made a mistake, but is executing its legislatively determined plan of genocide? I think you are morally free to kill your guards in that case.
I also think you are morally free to rob a store for medical supplies during a natural disaster, but not morally free to rob a bank to pay for a relative's life-saving surgery.
When to break the law should be a conscious decision, consistent with some framework of ultimate costs and benefits to yourself, your society and beliefs, not merely opportunism or a universal refusal to ever defer to the rest of the community's decisions.
Are you morally free to kill your guards if you are in prison through a failure of the judicial system? I don't think you are.
How about if you are in a death camp, where your government has not made a mistake, but is executing its legislatively determined plan of genocide? I think you are morally free to kill your guards in that case.
I also think you are morally free to rob a store for medical supplies during a natural disaster, but not morally free to rob a bank to pay for a relative's life-saving surgery.
When to break the law should be a conscious decision, consistent with some framework of ultimate costs and benefits to yourself, your society and beliefs, not merely opportunism or a universal refusal to ever defer to the rest of the community's decisions.