Great thoughts, 'Clarion'. Got me thinking hard about your topic.
Is there a better way? Well, yes and know! Geddit?
On my '15 ( that's 2015.... ) anticlockwise tour through Kyrgyzstan & Tajikistan along the Pamir highway I took a Chinese cheap helix coil wire combination padlock. For security reasons I gave the combination to my trusted travel companions. I figured that if any ( albeit highly unlikely ) situation arose it would be prudent to have a pal unlock my Raven Tour ( purchased a few years before from Andy ) Interestingly, it came with a fixed rear wheel Dutch frame security lock. A great piece of European engineering. However, on prepping my bike for the above mentioned tour, I found that the 2" tires were 2 (! Wink !) wide for the hardened steel lock. I had no choice but to remove the Dutch lock.
I think I passed it on to a member here. Nothing wasted in the Matt household.
Back to the subject ; let's lock in on it!
You mentioned trees in a previous post as a security base for looping a chain around. Well, yes and no. Some countries have plenty, some not so many. There may well be a tree available but not in the place you want to stop. You are therefore forced to stop where the tree is rather than where the store or cafe is situated.
On my '14 ( 2014! ) North to South trans Scottish end to end self supported tour ( summer ), there were plenty of trees. Usually near my desired resting spot. However, on my Moroccan tour, (2018, summer )very few.
Knowing the country well, my security arrangements for Scotlandshire were less than Morocco. Horses for courses, as my dear departed dad, Ron, would say.
An additional security tip he gave me was to park my stead next to something the same colour. A kinda camouflage effect. Blend it in. That goes for personal security as well.
So far we have concentrated on bike security and color. Not wishing to deviate from the topic but closely allied to it, is your physical and mental security. Perhaps I may venture to suggest you consider these two subjects before your world tour?
My 5/6 weeks in Ethiopia ( 2018, Spring ) were very enjoyable from a scenic a cultural perspective. However it was only my long and well researched prep, that got me through some err... interesting situations.
If I had to choose between a lock on my bike or a mental mindset/ attitude.........
As my ol' pa used to say, " You cannae buy experience........ but you can buy me a beer."
Wise words from a canny ol' cove.