If you don’t have a bike rack, you can secure your bike by attaching its lock to a solid object. Many bike locks come with mounting brackets that enable you to attach the lock to your bike frame. You also can use a U-lock or chain lock to secure your bike. For long-term storage, be sure you do this along with one of the options above.