pub fn lock_supported() -> bool
Determines if this platform supports memory locking or not.
Returns true if it is supported or false otherwise.