In Shot Caller (2017), the main character, Jacob/Money, wants to leave his home but, because he is being watched by a parole officer, doesn't exit through the main door but the bathroom window.
He does this by busting open the barred window, climbing out and placing the bars back in place so as not to be conspicuous, but not before he rips and fashions bed sheet into a rope, which he then uses to tie the bars in the bathroom window to the toilet.
If I recall correctly, the reasoning behind this isn't referenced later in the movie, and if it is, I missed it. I presume it has to do with throwing off the parole officer, in some way, but it remains a mystery to me.