My comment on Adolescence was rooted in considering the implications of letting kids spend hours unchecked on their phones focussed on an online world/relationships
What Adolescent taught us was the vital importance of connection with your teen. That was the central safeguarding theme, in my view.
The father lacked connection with his son... boxing instead of art, not understanding his friendships, not listening to his views, so unable to challenge them. The father also lacked connection with his daughter. The police officer lacked connection with his son.
That lack of connection is not just on child. It's also not just about online behaviour.
Our children, especially our sons, are losing family connections and so they are susceptible to unhealthy connections online.
Adolescence does have a lesson to teach in the OPs situation. It's not that the son needs punishment and control tho. It's that he needs a safe relationship where he can make mistakes and feels confident in asking for advise.
If a teens online behaviour is unsafe, the answer isn't no phone - that will just mean child will be more secretive next time theyre unsafe. Instead it might mean greater monitoring, emphasising safety. That said, if a teens online behaviour is harmful - they pressure for nudes, they bully etc. That does need a punishment, so time without a phone could help teach a lesson. Bringing this back to the OP, key point would parents not knee-jerking an assumption that sharing nudes is harmful (so warrents a punishment), when often it isn't.