"I had stepped into my office when the phone rang" is in the past simple form when the phone rang, implying the call interrupted the action. Past perfect requires the first completed action and the second action to happen after that in past simple. The correct form should be "I had stepped into the office when the phone rang."