I'm not familiar with those laws, do you mean the protection screw or the loss of warranty? I think many devices implement the latter in their EULAs, in case of tampering, use of non original parts etc, and the former as a protection is commonly used for example in some Chromebox PCs models to prevent flashing other operating systems. I think many tinkerers, including myself, would be more than happy to surrender any warranty, support, etc, if that was the only price to pay to be able to install what we want on our devices.
Magnuson-Moss Warranty Act ban such stickers as the manufacture has to prove a modification directly led to the failure before denying a warrany claim. the FTC sent out in 2018[1][2] a letter to several manufacturers, including Apple I believe, that deployed such stickers on their products
The common example I give is that if you replace the radio in your car, and then the water pump fails the manufacturer of the car can not refuse the warranty because you change the radio
Similarly, if in this instance you remove the sticker to turn on Dev Mode and then the Screen fails it would be incumbent on Apple to prove some software or something you did directly cause the screen failure before voiding the warranty claim, they can not simply relay on a sticker
Well that would be in violation of existing US Federal Law