@classmethod<EOL><INDENT>def _convert_to_protection(cls, protection_dict):<DEDENT>
from openpyxl.styles import Protection<EOL>return Protection(**protection_dict)<EOL>
Convert ``protection_dict`` to an openpyxl v2 Protection object.
Parameters
----------
protection_dict : dict
    A dict with zero or more of the following keys.
        'locked'
        'hidden'
Returns
-------