RTX interview question

Lock mechanisms in multi-thread environment