Apparently the post and dust men/women/them will have a key to the main front door. This does mean a lot of keys but then they will only be visiting a finite number of apartment blocks at anyone one time.
I do not know about the police BUT post and dustmen have a key to access apartment blocks over here, otherwise they will not be able to deliver post or pick up rubbish. I can only imagine the emergency services do as well.