Hello @luyq,
When pad keeping is enabled, it can ensure that the pin can retain its states from wakeup until user unlock it (during standby, wakeup - reset)
The wakeup is always through a reset and if the pad keeping is disabled, the pins will be placed to thier default states after reset by default. Which means that for the time between the wakeup and the port re-initialization, the pins are uncontrollable.
Regards,
Daniel