Fixed possible itemdupe for itemframes and added support for autolocking when using LWC