Thank you for reaching out to the Surface community. According to the post your Surface Book automatically switches from desktop mode to tablet mode without notifying you. Please change the Tablet mode settings and ensure you have set it to " Always ask me before switching"or to your desired option.
Hope that helps.