No cause the trigger depends on your map and what you are after thus you have to make it.
I advise looking up maps which do something simlar to what you are after (locking camera) and seeing how they do it and then enhancing that process to suit your needs.
I if you can not lock a camera to a single spot on the map, you need some kind of loop that runs 60 times a second and every time, sets the player view to the same spot. The camera or target of the camera could be stored in a variable and when the camera lock is not needed, you could turn it off to save processor time.