I did this while I was a student umpteen years ago now. I rode into college on my trusty raleigh 10 speed and left it locked up outside the computer labs. Just as I was settling down to work a bunch of mates came by and dragged me kicking and screaming to the student union bar. Several hours later I decided to walk/stagger home completely forgetting that I'd ridden my bike. Needless to say my bike wasn't still there two days later when I finally remembered where I'd left it.
Paul