so your projector works, you just don’t want the laptop screen on at the same time? On mine, it has projector/screen;screen only, projector only, it toggles between all of them. also, your video card in the taskbar might have settings for both being on. if you can’t do that, shut the lid(disable auto sleep in power management 1st), or put a black bag over it, etc.
https://technicolorsoftware.hostzi.com/