Flintlocks were sidelocks.

The moves to make guns with internal hammers were dominated by sidelock designs until A&D.

The A&D was developed before any sidelock designs that are still with us.

The sidelock was never 'invented'.

Hundreds of different patents exist which feature locks on sideplates.

The A&D was an invention, as it was radically different.