What does Acts 5:21 mean?
The Sanhedrin, the religious court of the Jews, arrested Peter and John and ordered them not to speak in Jesus' name. Peter and John respectfully told them they were going to do what God told them to do. When they returned to their friends, the group prayed for boldness and courage, and the Holy Spirit responded, shaking the ground with His approval (Acts 4:1–31).The apostles continued their ministry in the temple courtyard, and the priests put them all in jail (Acts 5:17–18). This next morning, the priests gather with the rest of the Sanhedrin—the elders and scribes from both the Sadducees and Pharisees—to try the apostles for breaking their direct order. Except, the defendants aren't there. In the night, God sent an angel to release them and tell them to continue their work (Acts 5:19–20).
Jesus prepared the apostles for this civil disobedience. He taught them not to fear those who threaten to kill their bodies but to respect the God who can send their souls to hell (Luke 12:4–5). Before they received the Holy Spirit, they couldn't do this. They scattered at Jesus' arrest (Mark 14:50), Peter denied knowing Him (Mark 14:66–72), and even after Jesus rose from the dead they hid from the Jewish leaders in a locked room (John 20:19). Now that they have the indwelling of the Holy Spirit, they are emboldened to defy human rulers in the service of God.