I am a "newbie" more or less, but let me take a shot at answering your questions. It's all a learning process here, so IF I am wrong, and my answers are invalidated by someone else. WE BOTH will learn something.
(1) from what I understand. You can have magazine(s) and pistol contained in the same locked case, BUT a loaded magazine cannot be inserted into the well. That is deemed a "LOADED" weapon and is illegal. Reference: PC 12026.1 and PC 12031
(2) you can have your pistol in a locked case and the case in your back pack. HOWEVER, it is a mistomeaner to be carrying ammunition for the same gun WHEN you are at a gun show. PC 12071.4(g)