modified:rewrite code about use lock
add 25min offline check reboot
modified:plat_form status->has_reg()