Yes, if you're flying from Terminal 5 and has checked in you can, no matter the airline, use the security control in Terminal 4. When you go through the security checkpoint, you'll arrive at the C gates in Terminal 5 (previously known as Terminal 4). You can also reach all other gates in Terminal 5 via a walkway located after the security checkpoint.
Opening hours for the security control in Terminal 4 are adjusted to the departures from the C-gates.