Hi ParinNaeimi,
Thanks for reaching out to Microsoft Community and posting your inquiry.
We suggest the methods below:
- Run Surface Diagnostic Toolkit and check Windows Update.
- Run the System File Checker.
- Check settings. Open Windows Settings > System > Tablet mode > Under When this device automatically switches tablet mode on or off, set the drop down to Don't ask and don't switch.
- Install drivers package. Check the specific OS build of your Windows Settings> System> About. Download the driver and firmware for Surface, choose Surface Pro 4 and click download on the next page. Please choose the .msi file that matches your current OS Build and click Next. After the download, runand installthe .msi then Restart the Surface Device.
Keep us updated by replying on this thread.