The first happens with non-Nokia applications when, e.g., locking the screen or rotating the phone. Nokia thought it would be very clever to actually freeze all applications it doesn't trust (i.e. all except those made by Nokia and explicitly whitelisted in the OS) to ensure smooth transitions.