Is there prefersPointerLocked for NSViewController?

How does one lock the pointer on the macOS using an NSViewController with SpriteKit and GameController. On iOS we can use the prefersPointerLocked solution from WWDC2020.

https://developer.apple.com/videos/play/wwdc2020/10617/

Is there prefersPointerLocked for NSViewController?
 
 
Q