The "lock" is the knowledge required to operate a complex aircraft.
This security is more than adequate to deter an outsider.
It was probably true before MS flight simulator. But not anymore. Quite a lot of outsiders seem to have enough knowledge to start a complex aircraft and perhaps even take off in it.