First, big thanks for adding this command.
It seems to have a sort of a bug though, it doesn't seem to fully work on backpack and weapon props placed in the editor (works fine otherwise).
It successfully removes the Inventory action from those but the Take and/or Open actions remain.
Would be nice to have also those locked.