Do you call a tablet, which can be connected to a keyboard, notebook or is there another term for it?
No, a tablet with keyboard is a tablet with keyboard.
Notebooks where you can remove the keyboard are often called "convertible".
Something like the Microsoft Surface Book: https://www.microsoft.com/...verviewtab
A tablet (with or without a keyboard) is strictly speaking something else, but I do not know a specific term.