A great many people understand the benefits of the bicycle, an essential means of environmentally friendly transportation. On the other hand, a sharp increase in bicycle theft has become a social reality. Bicycle riders must therefore carry around a number of different keys to secure their belongings. This bicycle lock is designed to simply yet strongly lock a bicycle in place, and to also be used as a light when the bicycle is in use. Other parts of the lock can be secured to the body of the bicycle, allowing for streamlining and style. This simple, comfortable, and compact design adopts the same shape as a headlight or handlebar lamp, making it aesthetically pleasing as well as easy to use, whether the bicycle is parked or on the go.