5 edition does have some weirdness about clerics spell casting and shields:
1. For a (V,S,M) or (V,M) spell the shield cleric can cast without changing what they hold in their hands. The two hander cleric has to draw their focus (assuming M with no listed gp cost), but can hold their weapon in their other hand.
2. For a (V,S) or (S) spell the two hander can cast without changing what they hold in their hands (well technically they take one hand off their two handed weapon), while the shield cleric has to free up a hand (e.g. sheathe their weapon, drop the shield whatever).
Probably not a big deal, but theoretically could come into play e.g. loss of opportunity attack if weapon is sheathed or if two handed weapon is being held with one hand (and not versatile).
1. For a (V,S,M) or (V,M) spell the shield cleric can cast without changing what they hold in their hands. The two hander cleric has to draw their focus (assuming M with no listed gp cost), but can hold their weapon in their other hand.
2. For a (V,S) or (S) spell the two hander can cast without changing what they hold in their hands (well technically they take one hand off their two handed weapon), while the shield cleric has to free up a hand (e.g. sheathe their weapon, drop the shield whatever).
Probably not a big deal, but theoretically could come into play e.g. loss of opportunity attack if weapon is sheathed or if two handed weapon is being held with one hand (and not versatile).