I've locked my bike by securing my helmet around the front wheel, and clicking the shifters so it was not easily rideable, while getting a cup of coffee. The bike was in sight all the time, and I was ready to chase down any would be thief. Normal locking while bike is unattended is two cable/padlocks and a u-lock.