Yup, you program the Calling Search Space for the lobby phone to search one and only one partition, in which that partition contains but one route pattern, which dials your security phone. The route pattern should match blank. Therefore, the phone will automatically match that route pattern on off-hook and dial the security phone.
John Lever
Telecommunications
Richland School District Two