Android “fake having a locked phone” - Galaxy SII
CM's profiles may work for you. I use it for circumventing the mandatory lockscreen if a certificate is installed (CaCert's regular SSL root CA here).

To set it up tap disabled in:
settings->profiles->default->lockscreen

For others: This only works with the alternative CyanogenMod aftermarket firmware.