This text below is copy and pasted from this URL which you can search up your question and find the answer you're looking for on your favourite search engine.
Somtimes, you may need to block your videos from being viewable in specific territories. For example, if you own the rights to a video only in certain territories, you may need to prevent viewers from outside of those areas from viewing your video. In other cases, you may need to block your video from being viewable in territories where you own the rights to the video.
Here are the different ways you can block your videos, depending on the scenario:
The upload policy allows you to create a partner-uploaded claim and tell YouTube what action you would like us to take with your video.
You can choose to block your video in territories of your ownership. YouTube already provides a predefined policy to block worldwide or you can create a custom policy and specify in which territories you would like to block your video.
If you own rights to a video only in certain territories, you may need to prevent viewers outside of those areas from viewing your video.
Block outside of ownership allows you to apply a block policy in all territories outside of your ownership, as an upload policy cannot be applied in these territories.
Do not block a video outside of your ownership if other partners have ownership on the claiming asset in the rest of the territories. If you do, the video will be blocked in the other partners' territories. Learn more.
Hopes this helps you finding your answer as to know how to block a video on youtube then I think this video might help