The official screen doesn't turn off completely (otherwise it won't generate touch events), but rather reduces the brightness as much as possible. Check the Settings -> RPi Settings for this.
For third-party screens a new lights HAL would be needed. We can create one for a specific project, but we can't integrate all of them into one OS by default.