I often park my bike in shopping centres, retail parks, dentist and places like that. I tend not to use the bike racks. Instead, I lock it to a tree, post or fence where the bike is more visible. Racks are often tucked around corners where nobody can see what's going on.
For a lock, you need...