It also bypasses SMM BIOS lock protections by disabling SMIs (Dell's BIOS doesn't set a certain bit in the chipset leaving it vulnerable to this) in addition to telling the EC to set the descriptor override.
remove all the lenovo stuff just a basic stub for now. i'll let nicholas have at it later on