This task can be performed using JustWrite
JustWrite: Start your draft, lose every distraction—by design.
Best product for this task
JustWrite
productivity
JustWrite is a distraction-free macOS writing environment that locks you in until you hit your time or word goal. It blocks escape shortcuts, enforces forward-only drafting, adds wellness breaks, and layers ambient audio to keep you focused until the work is done.

What to expect from an ideal product
- Blocks all keyboard shortcuts like command+z and backspace so you can't undo or delete what you've written
- Locks you inside the app until you reach your word count or time goal, removing the temptation to switch to other apps or websites
- Forces you to keep moving forward with your writing instead of going back to fix mistakes or rewrite sentences
- Adds timed breaks to prevent burnout while keeping you focused on getting words on the page rather than perfecting them
- Plays background sounds that help you stay in the writing zone without getting distracted by your inner editor
