Hi
‘Esc’ in FSX does take a little while to take effect. An easier way may be for you to press ‘Alt’ which brings up a bar. In ‘Flights’ you’ll find ‘End Flight’. Press that and you’re out.
Any other keys you use during flying etc., you should find pretty much instant. That applies to the joystick too.
Hope it helps
John Y