@technomancy @tjk There's usually a rack or street sign or parking meter close by where you can lock up without getting in someone's way.
Of course, in the city, you need to lock both wheels to the frame and the frame to the rack. One u-lock/cable pair can do that handily, and will stow on the bike. Takes a little practice, and some bike racks are *really* poorly designed. -.-