Swipe a card? At least in my building there's no need. It's hard to imagine random people messing with it.
The low-tech thing has its downsides: the other day the delivery guy wrote down the wrong code so I had to wait for the building manager to open it.
That said, I agree that it works very well. And I think it's a somewhat recent innovation. Apart from my current apartment none of the places I've lived here (10+ years) had lockers.