A seat post or handlebar mount work well to deter bike theft. You can buy specific AirTag bike mounts or improvise your own attachment.