People even used to put key-switch locks on the phones that were wired
to disable the dial so that someone couldn't make unauthorized calls if
they had physical access to the phone.
...
Which were (and are) trivially circumvented by flashing the switchhook
the n times, where n is the digit you wanted to dial, and pausing a
second or two in between each digit.
--Mike