The user reboots their phone before entering credentials on first unlock, ensuring a clean state. Don't think it can be added as a feature, since any requirement to reboot enforced in software can be bypassed on compromise.
Just to throw this idea out there. Originated as a brain fart. Might be useful if compromise suspected, or may be best practice for high security. Highly unlikely though, I think.