It serves to unlock everything is locked. For this to work, I would have to open the console, in the game, click its object to be unlocked and put this code. Okay, now would be unlocked.
I wonder how using this effect only with spell instead of the console. For example, work like a Firebolt spell, when you attack the spell, if you hit on someone, caught fire. The same thing in here, so will unlock if you get in a locked item.
Can you do that? Logic requires a script, I tried to do here with the attributes that are given in CK, but could not. Could you also make a restraining: If the lock requires a key, can not be unlocked by this spell?
If anyone can help me, thank you very much!