They call it geofencing, basically not allowing flight at all in some cases, in other cases giving you a warning to check if any local rules to make flight inadvisable.
I tested my local airport out a while ago, within the NFZ about 2km out it would let me start, take off, lift up 2 metres (didn’t attempt any higher but I’m sure it would have let me), then I landed again.
Went down by the major airport boundary, and it wouldn’t even let me start up, just a warning on screen saying you’re not allowed to fly here (or such).