Non-violent attempts to escape prisons in these countries are not punished because “it’s human nature to want freedom”. But of course unless you don’t commit another crime during your escape. Here are two examples about what crimes you’ll commit if you escape your cell.
Example 1: Break a window and jump out of it. This one was easy – you damaged property during your escape.
Example 2: Jump out of an open window and escape. Your crime? Stealing prison clothes, unless you jumped out naked.
As a practical matter, it is nearly impossible to escape without committing a crime