Bible Questions? Matthew

Questions on Matthew 27:52-53 (the resurrection of saints, captivity, Sheol, Hades)

Question: In Mathew 27:52-53, the Bible says that when Christ died on the cross, graves were opened, and many of the saints who had fallen asleep were raised. Where these saints still captives of the devil? What were the criteria of Old Testament righteousness, and why were these saints still captives? I thought they were …