"A wall hanger or decorative piece and not a real gun. Probably made in the middle east for the tourist trade."
Not necessarily---Decorated firearms like this were often carried as "status symbols" by North African and Mid-eastern tribesmen right up until the 1960s when replaced by AK47s. Most were rarely if ever fired. It is true that these began showing up in the tourist trade in the 1920s and before as tribal chieftains traded up to something more modern. Some Turkish flintlocks are marked with a rampant lion, so the piece may be Ottoman in origin. The crudity of the finish on the lock does not fit with the inlay detail. The gun could also be made up from parts, some original and some to complete the "gun" for sale to an unsuspecting tourist.