SideSync is the only app I know that could do this, but not sure it's compatible with a Note 2 (and even then, it would have to have been installed and activated on the phone first before using it). Are you locked out of the device and the screen is no longer responsive?
If so, the only thing I can think of is to connect a USB mouse using an USB OTG cable, but this assumes you can still see the contents on screen. If you can't see anything but you can still input things, then using an MHL cable to connect your phone to a TV via HDMI would be your best bet to see what you're doing on the TV and having the input on the phone panel.
You can also try unlocking the phone remotely via Google's Device Manager or Samsung's FindMyPhone site.