A young monk asked the Master: “How can I ever be freed?”
The Master replied: “Who has ever put you in bondage?
– Buddhist parable
A real problem can sometimes be solved, sometimes not. But no-one has ever solved a non-existent problem. It is totally impossible. The only likely result is a headache. You may be able to escape from a real prison. You may be able to tunnel out or bribe or overcome a guard. But no-one has ever escaped from a prison that has yet to be built.
The very effort of trying to escape creates the impression of a prison. To be bound is a mental state. It has nothing to do with the physical environment, although it may well appear that way.
Before investing a lot of effort in solving a problem, it is worth checking carefully whether it is real or not. Most apparent problems are generated by your thinking, not by reality.