Could you let me know if your headphones appear in the sound output list? Are they wired or Bluetooth?
If your headphones are connected but sound is still coming from the laptop, it may be due to the audio output settings on your Windows 11 device go to Settings > System > Sound and manually select your headphones as the output device.
If that doesn’t help, unplug and plug the headphones back in, then restart your PC