Okta Interview Question

Fix the code for locking/unlocking critical section