Pergunta de entrevista da empresa MagicBricks

What happens when we have a scynchronized method? method gets lock or the object is locked.