It should be noted that they kill someone voluntarily, and fate cannot prevent the commission of murder. So then, the soldiers voluntarily decide upon the act of murder and proceed to carry it out; however, having obeyed the centurion, they again and likewise voluntarily abandon their intention. They could have disobeyed the centurion, since there were many of them and strength was on their side, but the will and free desire do what they want and do not do what they do not want.
Source: Commentary on Acts