Import qgis.core and tkinter in one application

I have a problem with the application QGIS module with tkinter module in Python. Separately they work fine, but together they do not work.
I set PYTHONPATH and system path in Environmental Variables (C:\Program Files\Qgis 3.20.3\apps\Python39), (C:\Program Files\Qgis 3.20.3\apps\qgis\python) in order QGIS works. But when I do this tkinter module ceases to work and an error occurs:

File “C:\Program Files\QGIS 3.20.1\apps\Python39\lib\”, line 37, in
import _tkinter # If this fails your Python may not be configured for Tk
ModuleNotFoundError: No module named ‘_tkinter’

Here is the script:

import os, sys, glob
from qgis.core import *
import tkinter

I would like to know if it is possible to import these two modules in one script and how can I do this.
I use Qgis 3.20.3 and Python 3.9.5. on Windows 10