Can't lock bike to something, although will stop bike being ridden off.
That's not entirely the case - I have frame locks (Abus and AXA brands) on two ebikes and a tandem and by using one of the many available lock cables looped at each end, you loop the cable around a fixed object and then pass the second looped end between the frame lock locking pin as you slide it closed.
That's a bit difficult to explain - hopefully my pic below helps that understanding.
Some frame lock brands (like the Abus) have a purpose designed hole in the mechanism for 'plugging in' a looped cable but I've always got on with an ordinary cable with loops each end.
Further to the frame locks, each bike has one of those vibration activated sirens so for local shopping I loop the cable around a railing and into the frame lock and set the alarm, all done in no time.
Minor deterents to put off the occasional thief in a 'layered defence' approach but not something I'd rely on to defeat the real scrots!
I have no idea how easy it might be to 'wave rake' these type of locks but I'd guess the £10 Range one is simpler that an Abus or AXA - but who knows?
Our tandem has frame specific fixing points for the frame lock but the two ebike ones are zip-tied to the frame. Wot, zip ties I hear you say - easily cut zip ties!
I've had several nupties point this out but once the frame lock locking pin was been slide shut it doesn't matter if the zip ties are cut as the frame lock is still secured around the wheel preventing wheel rotation.