Proper locking using a cable plus a U-lock.
Place the U-lock shackle around the pole, your bike frame and through your rear wheel. Loop a cable around your front wheel, bike frame, and onto your U-lock shackle.