I have an X-56 stick/throttle combo and often find that when panning around in external view (taking screenshots) I can't help moving the stick slightly - disturbing (or even de-activating) the autopilot.
Also - my X-56 suffers from [the dreaded] "throttle creep", which is particularly bothersome with the FBW A32NX when it drifts out of one of the detents.
These scripts are an attempt to lock/disable all flight controls (including throttle) when the autopilot is active - either in Generic or FBW based aircraft.
IMPORTANT: These scripts are for (registered) FSUIPC users only - and require simple edits to fsuipc.ini. Please read the included README.
ALSO: Please be aware that sometimes FSUIPC doesn't read the LVARS until you go to Addons/WASM/List Lvars. I'm investigating this!