lockphone
Parameters
toggle - boolean - Locks the Phone to prevent opening it and automatically close the Phone.
exports.phone:lockPhone(toggle)
Example
exports.phone:lockPhone(true) -- Locks the Phone
exports.phone:lockPhone(false) -- Unlocks the Phone