Practice: Concurrency
Here are eight questions on what an interviewer asks after "now make it thread-safe". Each one gives you a small class and asks what is shared, where the bad order is, and which tool fits, in Java, JavaScript and Python. Each one also tests when you need no tool at all, because a reasoned "no lock here" is often the strongest answer. The last question puts the section together as a locking plan.
How to use this page. Set a timer for each question, and answer out loud or on paper before opening anything. Open a hint only if you have been stuck for more than a minute. When you are done, open Check your answer, read the worked answer and the list of what a strong answer covers, and compare them with yours. If yours missed most of it, reread the guide the question practises and try again in a day or two.