When will the plugin work?

The plugin does not work! Please fix it! Or tell me how to do it! THX!

Did you apply the permission to the player group?

autolock.use ​
DuckTales

Did you apply the permission to the player group?

autolock.use ​

the error occurs when I install a door or a box

Failed to call hook 'OnEntityBuilt' on plugin 'AutoLock v2.4.5' (InvalidCastException: Null object cannot be converted to a value type.)
  at System.Convert.ChangeType (System.Object value, System.Type conversionType, System.IFormatProvider provider) [0x00019] in <47fc8c70fa834cbf8141d7c1a7589125>:0
at System.Convert.ChangeType (System.Object value, System.Type conversionType) [0x00007] in <47fc8c70fa834cbf8141d7c1a7589125>:0
at Oxide.Core.Plugins.Plugin.Call[T] (System.String hook, System.Object[] args) [0x00008] in <18d4f19bbc844191b11ed9e69284d09b>:0
at Oxide.Plugins.AutoLock.OnEntityBuilt (HeldEntity plan, UnityEngine.GameObject go) [0x000f9] in <80b8e2b8666842ffa84a0f29355555a2>:0
at Oxide.Plugins.AutoLock.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0016c] in <80b8e2b8666842ffa84a0f29355555a2>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <87ce9ac9776a48658bc55eae6debe38b>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <18d4f19bbc844191b11ed9e69284d09b>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <18d4f19bbc844191b11ed9e69284d09b>:0