"Using a laptop in a public space is commonplace for many mobile professionals but leaves them open to potential theft, so the 'BusKill' USB cord has been created as a piece of equipment for enhancing peace of mind amongst users.
The device works by being set up with the computer using user-configurable triggers and being connected to the system when out in public or whenever users are weary about their physical security. The magnetic breakaway design of the cable will automatically carry out system locking or even data destroying if the laptop is separated from the owner.
The 'BusKill' USB cord is ideal for use amongst avid travelers and activists, while also being great for journalists and crypto traders who want to ensure enhanced security."
Source: https://www.trendhunter.com/trends/buskill-usb-cord
I always have such a USB adapter in my purse, although I never go anywhere :D