This video talks about 3 software I use pretty often for connecting my laptop with my phone:
- scrcpy: https://github.com/Genymobile/scrcpy
- gnirehtet: https://github.com/Genymobile/gnirehtet
- Remote Keyboard: https://f-droid.org/en/packages/de.onyxbits.remotekeyboard
It's highly recommended that you activate the "developper options" and USB debugging on your phone + install adb tools on your computer to do this.