That lever thing:
I forget the name. Something like steerer stopper. I slide a loop of paracord along the top tube to capture the lever, which keeps the front wheel more or less in the axis of the bike. When not in use, the lever is raised so it won't interfere with steering. There is zero risk of accidental lock, BUT I sometimes forget to disengage it when resuming riding - not a wise strategy
A side benefit is that you can ditch your star nut. It therefore frees the head tube to store (lubricant in my case).
I "accidentally" discovered that I can use it to steer the bike when the handlebars are removed. Invaluable in train stations - I can now prep the bike on the quay and walk the bike to the proper carriage, which can be a fair distance from the gate.
Very useful