Ethernet network connection lost after locking or after Screen Saver activation
It seems that you can stop this behavior by preventing your machine from sleeping after screen lock: 


Open System Preferences / Energy Saver
Under Power Adapter, check Prevent computer from sleeping automatically when the display is off


Now my Ethernet connection stays connected!