Well, I don't ride TO Starbucks, but we do a weekly ride that starts there and ends there. We do enjoy a nice drink afterward, however. I have been known to bring my bike inside the coffee shop and set it near my table (I try to sit near the door). I suppose you could go through the drive through- although some places frown on that. Not sure about the Starbucks..
There are really no bike racks anywhere in our town (aside from schools) , so I just have a cable lock that's pretty long (key kind), and lock it to whatever is bolted down (garbage can, railing, bench, sign post). You have to get creative sometimes, which is why I have a 3 foot cable lock.