Sure, on a basicl level an atomic swap consists of two phases
  1. the set up phase: both parties, user and Boltz, lock up funds to be swapped. Usually one part on lightning and one part on the chain. Special crypto trick is: both payment are locked with the same key, the so-called "preimage that always the user has.
  2. Once that is done and both sides locked up funds, user unlocks the incoming payment from Boltz. This unlocking is "public" so Boltz gets to see the preimage and can use it to unlock its incoming payment.
Tada, we exchanged two payments non-custodially. For the more in-depth version and a demo you can watch
For comparison with coinjoin, see my answer below: #339271