The differences between lock and RLock are as follows:
- A lock can only be acquired once before it must be released. However, RLock can be acquired multiple times from the same thread; it must be released the same number of times in order to be released.
- Another difference is that an acquired lock can be released by any thread, whereas an acquired RLock can only be released by the thread that acquired it.