Yes, false life and Heavy Armor Master work together.
Temporary HPs function exactly as normal HPs, except that they are designed to be lost first, before applying residual damage (if any) to your normal hit points. They are not to be mistaken for damage resistance, which is the ability to halve the damage taken in some situations, or damage reduction, which is the ability to reduce the damage taken by a fixed amount. All of them, however, should stack.
Player's Handbook (p.198)
When you have temporary hit points and take damage, the temporary hit points are lost first, and any leftover damage carries over to your normal hit points. For example, if you have 5 temporary hit points and take 7 damage, you lose the temporary hit points and then
take 2 damage.
If you possess some form of damage reduction, like the Heavy Armor Master feat, or some form of damage resistance, like the rage ability, you apply these effects first, just like you would when receiving damage normally (remember that, as per the rules found on p.197 of the PHB, damage resistance is the last modifier to be applied to damage taken). In effect, temporary HPs are a way to magically augment your ability to take punishment.
Contrast this situation with an abjurer's Arcane Ward. In this ability's description, the ward is described as a separate construct having it's own set of HPs, rather than giving you temporary HPs. As such, one could possess both an Arcane Ward AND temporary HPs (although temporary HPs from different sources still wouldn't stack), but the ward shouldn't, at least according to RAW, benefit from damage reduction or resistance effects. Indeed, it is not you taking the damage, at least until the ward breaks.
This is answered on page 198 of the PHB under the section titled Temporary Hit Points:
If you have temporary hit points and receive more of them, you decide whether to keep the ones you have or to gain the new ones. For example, if a spell grants you 12 temporary hit points when you already have 10, you can have 12 or 10, not 22.
Meaning that you choose which source to keep when you gain the temp HP and the other lot disappears. You don't have two separate pools and they don't stack so you either have the temp HP you gained from False Life or the temp HP gained from Armour of Agathys, not both.
Best Answer
Yes, they do
Temporary hit points work the same as normal hit points, with the exception that you can't heal them. Resistance or vulnerability is applied to the damage first, and then it applies to your HP, regardless of if it is permanent or temporary HP.
However, there is one thing you need to keep in mind with a warlock/barbarian hybrid and that is that:
Armor of agathys is not a concentration spell, so this is not a problem for that particular spell, but it is something to keep in mind when you mix a caster and a barbarian.