Does the forerunner 265 works on your pocket?

I was working today and in my work you are not supposed to have anything in your wrists or neck so I put my Garmin in my pocket, but when I put it back ok my wrist at the end of my shift it said that all the metrics like heart rate and stress were measured correctly during the time the watch was on my pocket, is that actually a function can I leave my watch in my pocket?