Fire alarms Mac computers and other security systems are secured with TORX bolts, These are like allen bolts, but instead of a hex pattern they have a star pattern. I doubt if passing bike thieves carry a torx driver.
There are other security bolt patterns. Any decent hardware shop should carry them.
You may have to saw off the handle of the driver and bent it over to make it small enough to carry.