Lock TikTok Until You're Done Studying

The homework problem is not what you think
You sit down to study. You open your laptop. You tell yourself this time will be different. Then your phone buzzes. Or it does not buzz, and you just pick it up anyway. TikTok is open. One video turns into ten. Ten turns into an hour. The homework is still sitting there, untouched, and now you have less time and more guilt.
Here is the thing nobody tells you: this is not a discipline problem. TikTok's algorithm is literally engineered to keep you watching.
"The technologies we use have turned into compulsions, if not full-fledged addictions. It is the impulse to check a message notification. It is the pull to visit YouTube, Facebook, or Twitter for just a few minutes, only to find yourself still tapping and scrolling an hour later."
— Nir Eyal, Hooked: How to Build Habit-Forming Products
You are not weak for getting sucked in. You are fighting a system designed by hundreds of engineers whose entire job is to make you scroll.
So stop trying to out-willpower a billion-dollar algorithm. Use a system instead.
Lock TikTok until the work is done
Habit Doom is an app that locks your distracting apps until you complete your daily habits. Not a gentle reminder. Not a timer you can dismiss. The apps literally will not open until you check off your tasks.
Here is how it works for homework. You create a habit called "Study" or "Homework" or whatever you want to call it. You add TikTok to your block list. Now when you reach for TikTok, you see a lock screen. The only way through is to do your homework and check it off.
You still get to use TikTok. You just have to earn it first.
Set it up in 2 minutes
Step 1: Download Habit Doom from the App Store. Free to download. You are doing this for yourself. No parent login, no permissions, no one monitoring you.
Step 2: Create your homework habit. Tap the plus button and name it something you can actually complete. "Read chapter 5" works better than "Study" because you know exactly when you are done. If you have a regular nightly routine, "Finish tonight's homework" is fine. Pro tip: keep it to one or two habits at first. You can always add more once the system feels natural.
Step 3: Block TikTok. Add TikTok to your block list. Start with just TikTok. You can always add Instagram, YouTube, or whatever else later if you notice yourself migrating to a different app instead. The point is to start small and build from there, not to turn your phone into a brick on day one.
Step 4: Open TikTok. See the lock screen. Do your homework instead. Not because you are motivated. Not because you have great discipline. Because the app literally will not open and the only key is checking off your work. The decision is made for you.
That is the entire setup. You did this yourself, for yourself. No parental controls, no complicated schedules, no one looking over your shoulder. Just a locked app and a checkbox.
Hard Mode for exam weeks
Daily homework is one thing. Midterms and finals are a different animal. You are not just doing tonight's assignment. You are reviewing three weeks of material, writing a paper, and studying for two exams at the same time. Regular blocking might not cut it when the stakes are that high.
Hard Mode exists for exactly this. Turn it on and every single habit has to be completed before any blocked app unlocks. No partial credit. You cannot check off one habit and scroll while ignoring the rest. It forces you to finish everything before your brain gets its dopamine hit.
I turned this on during midterms and it was the best decision I made all semester. The first day was brutal. By day three, I was finishing my study sessions an hour earlier than usual because there was literally nothing else to do. My phone still worked for calls, texts, and anything not on the block list, but it could not distract me with the apps I actually waste time on.
Turn it on the Sunday before exam week. Turn it off when exams end. You control when the guardrails go up and come down. Nobody else has to know you are using it.
Streaks make it stick
The first few days are rough. You will reach for TikTok out of pure muscle memory and hit the lock screen ten times a day. By day four or five, something clicks. You stop reaching for it as much. By day ten, you have a streak going — and breaking it starts to feel wrong.
Here is why streaks work for students specifically: you already understand them. If you have ever kept a Snapchat streak alive for months, you know the pull of not wanting to break the chain. Habit Doom uses that exact psychology, except the streak is tied to something that actually helps you. Every day you do homework before TikTok, the number goes up.
It gets weirdly competitive too. A few of my friends started using it and we would screenshot our streak counts in the group chat. One of them hit 100 days before anyone else and would not let us forget it. Habit Doom has milestones (Bronze, Silver, Gold, all the way up to Diamond Status at 200 days). It sounds like a gimmick until you are on day 30, your grades have gone up a full letter, and you realize the streak and the GPA improvement are not a coincidence.
Anti-Cheat: because you will try to outsmart yourself
Be honest — your first instinct is already "I will just delete the app when I really want TikTok." Your future self is sneaky. At 11pm the night before an essay is due, that version of you will try anything: deleting the app, clearing data, whatever it takes to get one more scroll session.
Habit Doom has Anti-Cheat built in. It catches the workarounds so you do not have to trust your own willpower at midnight. The whole point is that cheating is harder than just doing the homework, and once you accept that, you stop trying.
Why this beats every other method
Screen Time limits? You tap "Ignore Limit" and you know it. You have probably done it three times today already. Those limits are suggestions, not barriers. They ask you to make the right choice at the exact moment your willpower is lowest.
Forest app or study timers? They gamify focusing, which is cool, but they do not actually block anything. You can close the timer and open TikTok whenever you want. The tree dies? You do not care at 1am. There is no real consequence.
Deleting TikTok? You will reinstall it. Maybe not today, but by the weekend. And you will binge twice as hard to "catch up."
Leaving your phone in another room? Works until you need to check a message or look something up for your assignment. Once the phone is in your hand, TikTok is one tap away.
Here is the thing about willpower: it runs out. You start the school day with a full tank. By 4pm, after classes, socializing, and decisions all day, you are running on empty. That is exactly when you sit down to do homework — and exactly when TikTok is hardest to resist. Habit Doom does not ask you to be disciplined at your weakest moment. It makes the undisciplined choice unavailable. No decision fatigue, no negotiating with yourself. We compared all the major options in our best app blockers for students guide.
Pair it with a study method that actually works
Blocking TikTok removes the distraction. But you still need to actually study well once it is gone. Two techniques that pair perfectly with Habit Doom:
Pomodoro Technique: Study for 25 minutes, take a 5-minute break. Repeat four times, then take a longer break. Your blocked apps stay locked during the study blocks and the breaks. The structure makes big assignments feel less overwhelming because you are only committing to 25 minutes at a time.
Study groups with accountability: If your friends are also using Habit Doom, study together. Everyone's apps are locked, nobody is scrolling, and you can actually help each other with the material. It is harder to quit early when everyone around you is still working.
For a deeper dive on focus strategies that stack well with app blocking, check out our full guide on how to focus while studying.
Your future self will thank you
Download Habit Doom, block TikTok, add one homework habit, and start tomorrow. The version of you who has a 30-day streak, better grades, and still watches TikTok (just after the work is done) is only a month away.
TikTok is not going anywhere. Your homework deadline is.
Frequently Asked Questions
Keep Reading
Try Habit Doom
Lock your distracting apps. Complete your habits. Earn your screen time. It takes 30 seconds to set up.