If a kidnapper is holding someone to ransom or holding them ransom in British English, or is holding a person for ransom in American English, they keep that person prisoner until they are given what they want.
If you say that someone is holding you to ransom in British English, or holding you for ransom in American English, you mean that they are using their power to try to force you to do something which you do not want to do.