djangorestframework-simplejwt: How to make token invalid when password changed

Solution for djangorestframework-simplejwt: How to make token invalid when password changed
is Given Below:

I am using djangorestframework-simplejwt. Currently user can login from multiple devices. And through one of the device he changes his password,

How to then reject the access_token from other devices?