Once you regain access, avoid a repeat lockout. Follow these industrial cybersecurity best practices.