SpaceMadness: A number of real-time strategy games have defensive structures that attack enemies that get too close..... Age of Mythology, Rise of Nations, Starcraft, etc.
In Divinity: Original Sin 2, characters who invest in summoning (which tends to be all-or-nothing) can deploy totems, which are immobile but possess ranged attaks. Like all ranged attackers in this game, they even benefit from a range and damage increase by being on higher elevation.
Regalia: Of Men and Monarchs has an engineer (optional recruit) who can summon a turret, among other gadget-themed abilities.
with that anology you can also add diablo 2 and 3 to the list.
Why, because of a single spell the soccerer have access to
and you can thin the line by saying well if Diablo 2&3 are in the list why ain't Wolcen?
the blackhole spell is not a tower/turret but have the same property's. etc.
i think the OP means games that really revolves around turrets in general