Hi,
you could create a resource with no regular week and exceptions with working intervals for the 10 days when the resource is available.

To assign work to this resource, you can use an Assignments view where you change the row of this resource to show its maximal possible work. This would help you plan it only on the days when it is available.
Now you can assign to it unassigned works if they are within its available duration.

Should you assign an activity which is scheduled to happen after those 10 days, the activity will show a scheduling conflict.
In Assignments view

and in Work Breakdown

In this case you can remove the assignment and assign the task to another resource.
I hope this helps you further.