Disable item frame interaction
To seal all itemframes withwin 5 blocks in place, use this command :
/execute as @e[type=minecraft:item_frame,distance=..5] run data merge entity @s {Fixed:1b,Invulnerable:1b}
They will no longer be removable by adventure players and their rotation will be locked