Samsung Electronics Interview Question

What is spin-lock and when it is used?