Code:

import tkinter as tk

def create_window():
    root = tk.Tk()
    root.title("Always on Top Window")
   
    # Set the window to always be on top
    root.attributes("-topmost", True)
   
    label = tk.Label(root, text="This window is always on top!")
    label.pack(padx=20, pady=20)
   
    root.mainloop()

create_window()