The only thing I can think of for you would be Smart Lock. With Smart Lock you can keep the phone unlocked and lock it when you want based on certain conditions. Again, like mustang7757 points out it won't be exactly what you're asking for but may work the way you're looking for.
With Samsung's Smart Lock you can keep the phone unlocked when in a familiar place, connected to a familiar device, or when in your possession. Not sure how it knows the latter. Anyway, I believe within the Smart Lock features there is an option to add a button to the screen that will lock the phone with a tap even when it is being kept unlocked by whatever matrix you're using.
So let's say you're home and use the when connected to BT speaker as the unlock device. As long as you are connected to that speaker your phone will be unlocked until you activate the lock. I would have used the in your possession option but again I'm not sure how it knows it is in your possession. I don't think this option works with WiFi, which I can't understand, but does work with BT. You will still need to unlock your phone initially but then it will remain unlocked until you lock it or until the conditions are no longer met.
Here is more about it, how to enable it and what it does.
FAQ for Samsung Mobile Device. Find more about 'What is Smart Lock and how do I use it?' with Samsung Support
www.samsung.com