How I locked my bike

Typically when I lock up my bike at the store or some where that I know I’ll be out in a jiffy, I usually only lock my front wheel and frame to the rack.

But now that I have to leave my bike at the rack all day, I found that the best way to keep my bike safe is to have the front wheel dismounted, QR in my backpack and locked up the way I have it in the picture.

Any other suggestions?