Step 1: Key observation about time bounds.
The number \(2021\) is a fixed constant. For any Turing machine \(M\), we can simulate its computation for at most \(2021\) steps on any given input and observe whether it halts within that bound.
Step 2: Decidability of \(L_2\).
To decide whether \(M\) takes more than \(2021\) steps on some input, we can enumerate all possible inputs of length up to \(2021\) symbols and simulate \(M\) on each of them for at most \(2021\) steps.
If for at least one input the machine does not halt within \(2021\) steps, then \(\langle M \rangle \in L_2\). Otherwise, it is not. Since this process is finite, \(L_2\) is decidable.
Step 3: Decidability of \(L_1\).
To decide whether \(M\) takes more than \(2021\) steps on all inputs, we again simulate \(M\) on all inputs of length up to \(2021\) for \(2021\) steps.
If \(M\) halts within \(2021\) steps on even one input, then \(\langle M \rangle \notin L_1\). Otherwise, it belongs to \(L_1\). This is also a finite procedure.
Step 4: Conclusion.
Since both properties can be checked using finite simulations bounded by a constant number of steps, both \(L_1\) and \(L_2\) are decidable.
Final Answer: (A)