Added lock on game in server