Genesis 19:17kol
When they had brought them outside, one said, "Escape for your life! Do not look behind you, and do not stay anywhere in the valley; escape to the mountains, or you will be swept away."
Lot is warned not to stay anywhere in the doomed valley.
Jeremiah 40:5kol
As Jeremiah was still not going back, {he said,} "Go on back then to Gedaliah the son of Ahikam, the son of Shaphan, whom the king of Babylon has appointed over the cities of Judah, and stay with him among the people; or else go anywhere it seems right for you to go." So the captain of the bodyguard gave him a ration and a gift and let him go.
Jeremiah is freed to go anywhere he thinks right.
1 Kings 2:42an
So the king sent and called for Shimei and said to him, "Did I not make you swear by the Lord and solemnly warn you, saying, 'You will know for certain that on the day you depart and go anywhere, you shall surely die'? And you said to me, 'The word which I have heard is good.'
Shimei's oath: going anywhere beyond the limit means death.