I'm lucky enough that the bike rack at my place of employment is behind security barriers, and there is a uniformed police officer that stands 10 feet from it all day, every day.
That said, I wouldn't lock a bike outside all day. I've seen what happens.