From the 2016 MacBook Pros (with the exception of the 2017 13-inch MacBook Air), Mac machines won't play the chime when you turned them on. But from macOS Big Sur and later, there’s a "Play sound on startup" option available in Sound settings.