For CS, homework should be done how you want. Homework is practice. Let AI assist you, but you better learn it because you'll be coding some part of it in lab with a physical programming book as a reference. They can lock down computers for labs to prevent web access or limit only to certain websites. Since labs are weekly, it will be obvious if someone is not learning as they do the homework. It won't be an F on the final as the first sign of trouble.
Schools can do things to improve student resources. Self host llms that are not corporate controlled that every student can use. The school can provide a search engine that is useful and not google's marketing. You can offer an education proxy that caches the pages you look at when doing education work, preserving anything you cite. This can all feed into the school llms for rebuilding to keep them trained on current info.