I have a locker at work for my bike.
LOVE. IT.
I leave the helmet, the Garmin, the lights on the bike. No problems.
I did discover, however, do NOT leave your gloves in there in the winter, unless you want totally frozen hands for the ride home!
Good for you with the locker. Happy commutes!