Don’t – Never lock just your top tube to the rack. If the rack is defeated, it’s easily ridden away. Thieves also use the leverage of the top tube to try and twist the lock apart and may ruin your bike.