Fujitsu interview question

When to use semaphores vs locks?