Devices to restrict the use of smartphones