Diybikelock
From the MAKE Flickr photo pool

Superlocal shares a simple solution for preventing a bike from rolling during train transportation – a velcro strap. I’m guessing a heavy-duty rubber band might do the trick as well. – DIY brake lock