I let candidates use the Internet (except AI tools) during coding interviews. All I care is if given a problem can they do the necessary research to solve it. It usually involves making them use a library which they are not already familiar with. This is more than enough for most of the programming jobs.