Saying a path can't be walked has pretty large consequences since routing apps will refuse to use them for walking directions. A highway with no footpath does seem extreme enough to warrant refusing to route for walking directions, but otherwise it's best to not block walking unless it's literally impossible or illegal to walk there.