This can be an interesting project.The idea is to use an old PSTN phone to control the user end of an entry phone system.
Different functionalities can be developed, this article is concentrated to the door opening one.
The idea is to interface the rotary dial of an old PSTN phone with a small MCU capable to decode a number composed with the rotary dial and activate a relay if a specific number is selected.

