I was just staying in a place in the US that had a package room with per-parcel codes for access.
It was kind of a terrible experience. Just because you had the address and unit number on there, you needed to be "in the system" so they could email/txt you an access code. I had a box of flowers for Mother's day that didn't show up until a week later. When everything did work as expected, it was still very problematic. Any "delivery" alerts were meaningless because it may not have been registered to the package room yet. The package room was a mess and was often difficult to find your packages--then you had to carry them all back to your unit. I'm not sure if they bundled access codes (i.e. 5 packages arrive but they only register the first and give you one code), but this seemed to happen to me. If you did forget a package they expired unused codes after you access. So if you forgot or couldn't carry everything you can no longer access the room.
I'm sure this simplifies things for the carrier, but I wouldn't be surprised if missing packages increased sharply when these were introduced. I also got the feeling packages were delivered to the front office before this system was in place (which would be the same, or perhaps, less work for the carriers). Which negates a lot of the issues mentioned above, but does mean you can only pick up your packages during office hours.
I haven't experienced Japanese package delivery, but when I first heard about it a few years ago I got super envious.