Yes, tere are quite a few things that prevent it activating on most cars.
I didn't even know my car had it for four years after buying it (2nd hand). Once I kew it had it, after it had activeted to my surprise on one journey, I looked it up. Mine (Vauxhall Insignia 2015) won't activate if you have the air con turned on, or if you have the front screen demist turned on, or if the engine hasn't reached steady engine temperature, or if you have just come off a motorway or similar, or if the battery is not fully charged, or a few other things.
You don't need to keep your foot on the brake to keep it stopped though, when it does activate. Just leave it in neutral and at a standstill (preferably with handbrake on, but that is not necessary for operation). Depressing the clutch starts the engine then.
On mine (BMW 330D 2014) it seems to be mainly if engine is not up to temperature or outside temp is too low. If aircon is running it seems to cut off for 30 seconds or so then starts the engine again.