Implementing "lockdown" code