Auto-lock restored objects if not locked already

Was being done in the wrong order
Flush player stats on disconnect

Dont want to keep the data in memory for no reason