0👍
This issue got fixed in channels-redis version 2.3.3
Update channels-redis to 2.3.3
In case this throws any further errors or doesn’t support your installation then follow the link below to update your core.py file. Though editing the package is not recommended, this will fix the lock issue.
Link
Source:stackexchange.com