The only time my bikes are unlocked is when they are inside my own apartment. I could probably get away with leaving it for a few seconds around here, but I don't risk it.
I use a mini U-lock for most quick lockdowns, sometimes with a thick cable for longer stays.