Hi, @xin qiji
Thank you for posting in Microsoft Q&A forum.
You may deploy the task sequence with "Required".
Required deployments use PXE without any user intervention. The user can't bypass the PXE boot.
For more details:
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Add comment".