Can I use the screen from an icloud locked iPhone to replace a cracked iphone without problems?

Can I use the screen from an icloud locked iPhone to replace a cracked iphone without problems?

Yes. Only the motherboard is Activation Locked. All other parts attached to it can still be used as spare parts.