Power allowance is easy and works well, but if you apply it to that specific light, then it will ALWAYS turn itself off after that amount of time, even if you turn it on in other ways like with a voice assistant.
Instead, many people create a virtual Switch to act as a timer and apply power allowance to that. Then set up a separate automation to have the real hallway light mirror the virtual timer.
That way when the virtual Switch turns on, the hallway light turns on. When the virtual Switch turns off, the hallway light turns off. But you can still turn the hallways light on with any other method and it can stay on for longer than 10 minutes at a time.
There is a how to article in the community-created wiki for the exact steps to create a virtual timer. It uses the Classic app, but the concept is the same for the new app.