I solved this by going in device manager and under keyboards, I uninstalled all the  devices and then restarted the computer. This issue started after a blue screen happened. I am not impressed, just got the laptop yesterday and facing these kind of primitive issues are not pleasant. 
I recently found out that my F1-F7 and Fn keys do not work as intended. When opening On-Screen Keyboard, every time I press one of those eight keys, the Alt key lights up. I could indeed use any of those keys to do an Alt-Tab combo (e.g. F2-Tab works exactly the same as Alt-Tab). Any help is greatly appreciated!
m15 R6, keyboard F1-F7 keys and Fn key all work as alt key