What the Bible says:
Luke 23:33-34
And when they came to the place called the Skull, they crucified him there, and the robbers, one on his right hand and the other on his left. And Jesus said, "Father, forgive them, for they do not know what they are doing." Now in dividing his garments they cast lots.
What the Bible does not say:
Luke (imaginary):
And then the skies parted and God said, "Oh, well, then OK! I forgive all these people who are torturing, mocking and now killing you. Carry on with the crucifixion since Jesus asked Me to forgive all of you, go right on ahead with what you are doing."
God does not grant all of Jesus' requests.
What the Bible says:
Luke 22:42-43
Saying, "Father, if thou art willing, remove this cup from me; yet not my will but thy be done." And there appeared to him an angel from heaven to strengthen him. And falling into an agony he prayed the more earnestly.
What the Bible does not say:
Luke (imaginary)
And the angel who comforted Jesus said, "Psst! Keep it secret but God has granted your request and you are not going to be betrayed, arrested and crucified. We are just totally faking them out and Judas was just part of the punking reality show."
Only God decides regarding forgiveness. I don't know how so many people today think that if they can get a victim to "forgive them" that God will automatically do so. Further, I don't know how so many people today think that because Jesus asked God to forgive his tormentors and killers that God automatically did so. That is why I included the second passage to show that immediately before the request for forgiveness by Jesus and his crucifixion, Jesus asked something else of God which was denied. An angel was sent to comfort him, so God of course heard Jesus' prayer, but God did not grant his request to remove the cup of suffering from Jesus. That would not be done until Jesus had died and resurrected, and will himself pass judgment on humans with great strictness at the Second Coming.