According to the VA-API's description, they are MT-safe, we do not need to care about that in our middleware layer. The lock/unlock operations have overhead and make the performance lower. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1333>