When I taught police bicycle patrol, I showed the tacit of handcuffing one cuff to the rear rim/tire if the bike would be out of your sight for a short time; it works amazingly well. Just don't forget it's there when you get back on the bike

The photo below is not the result, but it is common during training (you notice it's done on nice soft grass)