Heat the oven to 375°F (190°C) and lightly grease a 9-inch baking dish.
Melt the butter in a saucepan, cook the garlic for 30 seconds, then whisk in the flour and cook 1 minute.
Whisk in the milk slowly and cook 2 to 3 minutes until thickened.
Lower the heat and whisk in the cream cheese, mayonnaise, sugar, soy sauce, Old Bay and white pepper.
Off the heat, gently fold in the crab meat, half the mozzarella, the Parmesan, most of the green onions and the lemon juice.
Spoon into the dish, top with the remaining mozzarella and bake 18 to 20 minutes until bubbling and golden.
Rest 5 minutes, sprinkle with the remaining green onions and serve hot.