2013 Ford F150 battery drain in Park

When the truck is put into park , key removed , and vehicle locked; the “P” remains lit and drains the battery . If I pull the select lever towards me about 1/4" the light will go out.
How can it be fixed?

You can do this every time to “fix” it or have the shift select lever switches adjusted to make hat go away.