Main references: Rv 20:1-6; Jn 5:24-29; Jn 3:3-5; 1 Pt 1:23
The true identity of Satan is revealed from Rv 1-13, and Satan’s group is judged from Rv 16-19.
After God’s work is finished in Rv 17, 18, and 19, Satan is captured and locked in the abyss. Then those who were beheaded by the dragon (i.e. the souls of the martyrs) and will unite as one with us (those who are both physically and spiritually alive) and will live with Christ for 1,000 years.