This article explains how to disable tablet mode in Windows 10.
How to Enable or Disable Tablet Mode in Windows 10
Follow these steps to quickly turn off Tablet Mode. This will let you toggle this mode on and off in just a few taps.
Swipe left from the right edge of the screen to open the action center. You can also tap the touchpad with four fingers or press Win+A.
A set of tiles can be found at the bottom of the action center. If the Expand text is above it, tap it. If not, go to the next step.