I have a home office with a windows server, NAS etc. How can I split my network so that my smart TV is not able to scan my file share ? Preferably also to keep the IOT devices separate.

My router just died so need to buy a new one. Now would be a great time to learn how to do this please. Thank you.