What you can do is make all calls dial out to IVM (using a custom dial plan) and then IVM would be set-up to ask for a password. It would then validate the password, and if correct allow to enter the number you wish to dial.
There is no direct feature however that will let you simply dial a number, enter a pass code and then connect the call straight away.