It looks like Unity lightmapper uses 1024x1024 lightmaps when "lock atlas" is enabled. Problem is that it becomes very slow and I don't need that high resolution lightmaps. Is there a way to control lightmap size when "lock atlas" is on?
LightmapEditorSettings.maxAtlasWidth and LightmapEditorSettings.maxAtlasHeight seems to be the answer.