Pressing a top-row key performs its traditional "F" function (e.g., F1). To use the multimedia action, you must hold the Fn key.
The fastest way to toggle the lock is using the keyboard shortcut. Press and hold the Fn key + Esc key . dell fn lock