Ok this is a weird idea, however the bike has to be built like this:
The locking mechanism comprises a section of the seatstays — the two tubes that extend up to the seat from the rear wheel. Leinonen installed a universal joint at the junction of the tube and latches in the stays to secure it to the frame.
The locking section of the frame swings to secure your bike to a meter, post. Should an ignorant criminal break the lock, the chain stays — those tubes extending from the rear wheel to the crank — won’t support a rider’s weight.
Ok this is a weird idea, however the bike has to be built like this:
http://www.wired.com/gadgetlab/2011/09/bicycle-lock/