Chrome check before quitting
It’s surprisingly hard to find out how to stop Chrome on Mac from closing all its windows and tabs automatically if you accidentally press ⌘Q.
The answer is… there’s a menu option in the Chrome menu called Warn Before Quitting. Select it and you’ll need to hold down ⌘Q to quit.