The windows opening are because the remote is being held too long
Try a definite press instead if a "seconds" duration
Lazy lock - try this open all windows and sunroof - shut all doors - now press and hold lock button - all doors should lock and windows will close themselves along with...