Set default params for lockGlobal

* Set the default params for lockGlobal
* Changed the order of params to set default values
* In most cases you only want to lock, so I set up this as default value
* This is not a breaking change, since this function was added in the current alpha
9 jobs for default-lock in 2 minutes and 37 seconds (queued for 1 second)
Status Job ID Name Coverage
  Lint
passed #5891
lint:lint-php5.4

00:00:50

passed #5892
lint:lint-php5.6

00:00:25

passed #5893
lint:lint-php7.0

00:00:47

passed #5894
lint:lint-php7.1

00:00:49

 
  Codesniffer
passed #5895
allowed to fail
codesniffer

00:00:49

 
  Unit
passed #5896
unit:testBasic

00:00:56

passed #5897
unit:testRead

00:00:32

passed #5898
unit:testReadAssertFail

00:00:52

passed #5899
unit:testUserProperty

00:00:56