I should ask what do you mean by the auto fullscreen function?
But perhaps you mean, when you drag a window to the edge of the screen, it expands?
If so, open the ease of access centre.
Click "Make the mouse easier to use"
Click the second option " Prevent windows from automatically......etc)
Apply, then log off or restart.