Have you gone settings > display > auto-rotation? They should auto-rotate when the keyboard is open, but this will allow (for sure) the dialer to rotate once unlocked. I'm not sure if your lockscreen will even with it checked.
I have it set but when the KB is closed the dialer and lock screen don't rotate. I have a regular holder in my car, not a dock, and its pretty annoying when I call from my headset and the dialer comes up sideways :-/