For code type locks that don't need a key there are 'free dial' systems where you can set any number you like and fixed types where the number is set in advance.
You don't see many dial phones around anymore.
In case of an emergency, dial 110.
I forgot to lift the receiver before dialing the number.