Concentrate is a Mac app that “helps you work and study more productively by eliminating distractions.”

The full version costs $29, and there’s a 60-hour trial available.