How do you chain down a bicycle correctly?

Beating the thieves: With the right lock in the right place and at the right location, the bicycle is well protected.