Samsung has this feature build in and its called ‘Extra dim’ or similar. Its a quick setting one can get when customizing the tiles.
I used to use third party apps too, but it was annoying that you couldnt grant permissions or install new apps without deactivating the dimming app since it was a security risk to have an app which draws over other apps.