Recently when I open Photoshop 2024 it display a dialog that there is no internet connection (because I blocked its access) but with this dialog you can not use photoshop.
you can use HostsMan and use a-dove-is-dumb script to block Adobe telemetry and activation.
Check Usage -> HostsMan users (Automatic updates) section