To use an iPad as a second screen on a Windows 10 computer, you'll need to use a third-party app like SplashTop.
You can use Samsung's One UI to do split-screen multitasking on a Samsung Galaxy S10. Here's how to use it to display two apps side by side at once.